Does VMFLT.VF 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.VF is a RISC-V V vector floating-point compare instruction. For active elements within vl, it compares vs2 with floating-point scalar f[rs1] 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.VF produces mask bits, not a 0/-1 integer vector.
Understand this scenario with real code like «vmflt.vf v1, v2, ft0».
Understand this scenario with real code like «vmflt.vf v1, v2, ft0».
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.