Does VMSEQ.VV 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.
VMSEQ.VV is a RISC-V V vector integer equal-to compare instruction. For active elements within vl, it compares vs2 with vs1 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.
VMSEQ.VV produces mask bits, not a 0/-1 integer vector.
Understand this scenario with real code like «vmseq.vv v1, v2, v4».
Understand this scenario with real code like «vmseq.vv v1, v2, v4».
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.