How does VMINU.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 minimum and write vd.
VMINU.VV is a RISC-V V element-wise unsigned minimum instruction. For each active element within vl, it compares vs2 with vs1 using unsigned integer ordering and writes the smaller value to vd.
VMINU.VV writes only active elements; integer overflow keeps the low SEW bits and does not trap.
Understand this scenario with real code like «vminu.vv v8, v4, v6».
Understand this scenario with real code like «vminu.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.