Does VMFLT.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.
VMFLT.VV is a RISC-V V vector floating-point compare instruction. For active elements within vl, it compares vs2 with vs1 and writes the comparison result to mask destination vd. NaN handling, invalid exception flags, and quiet/signaling comparison behavior follow RVV floating-point compare rules.
VMFLT.VV produces mask bits, not a 0/-1 integer vector.
Understand this scenario with real code like «vmflt.vv v1, v2, v4».
Understand this scenario with real code like «vmflt.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.