Does VMSLTU.VX write ordinary vector elements?
No. Compare instructions write a mask destination vd, with one Boolean bit per element.
Perform element-wise < comparison and write the Boolean result to mask destination vd.
VMSLTU.VX is a RISC-V V vector integer unsigned less-than compare instruction. For active elements within vl, it compares vs2 with integer scalar x[rs1] and writes the comparison result to mask destination vd. Source operands are interpreted at the current SEW according to this instruction's comparison relation. Integer comparisons do not raise floating-point exceptions.
VMSLTU.VX produces mask bits, not a 0/-1 integer vector.
Understand this scenario with real code like «vmsltu.vx v1, v2, a1».
Understand this scenario with real code like «vmsltu.vx v1, v2, a1».
No. Compare instructions write a mask destination vd, with one Boolean bit per element.
With vm=0, v0 selects active elements; with vm=1, all body elements participate. Inactive and tail elements follow the current policies.