How does VMAXU.VV handle masking?
With vm=0, v0 selects active elements; with vm=1, all body elements participate. Inactive and tail elements follow the current policies.
Compute the element-wise unsigned maximum and write vd.
VMAXU.VV is a RISC-V V element-wise unsigned maximum instruction. For each active element within vl, it compares vs2 with vs1 using unsigned integer ordering and writes the larger value to vd.
VMAXU.VV writes only active elements; integer overflow keeps the low SEW bits and does not trap.
Understand this scenario with real code like «vmaxu.vv v8, v4, v6».
Understand this scenario with real code like «vmaxu.vv v8, v4, v6».
With vm=0, v0 selects active elements; with vm=1, all body elements participate. Inactive and tail elements follow the current policies.