Does VMSBC.VXM write the add/subtract result?
No. It writes only carry or borrow mask bits; data results come from instructions such as VADC/VSBC.
Compute element-wise subtract borrow-out and write the Boolean result to mask destination vd.
VMSBC.VXM is a RISC-V V vector subtract borrow-out instruction. It does not write the integer sum or difference; it writes each element's borrow-out as a destination mask bit. The m-suffixed form uses v0.mask[i] as carry/borrow input. The destination is a mask register, not an ordinary SEW-width integer result.
VMSBC.VXM generates a borrow mask; in m forms, v0 is the carry/borrow input, not an ordinary execution mask.
Understand this scenario with real code like «vmsbc.vxm v1, v2, a1, v0.t».
Understand this scenario with real code like «vmsbc.vxm v1, v2, a1, v0.t».
No. It writes only carry or borrow mask bits; data results come from instructions such as VADC/VSBC.