Do these floating-point instructions use vxrm?
No. Ordinary RVV floating-point operations and FP conversions use floating-point frm or an instruction-specified fixed rounding mode; vxrm is for fixed-point rounding instructions.
XOR sign bit of vs2[i] with sign bit of f[rs1]: vd[i] = vs2[i] XOR sign(f[rs1]).
VFSGNJX.VF performs floating-point sign injection: it combines sign bits without numerical arithmetic. The magnitude bits come from vs2, and the sign comes from f[rs1] XORed with the vs2 sign. Vector FP32/FP64 operation requires the corresponding scalar F/D support; FP16 is controlled by the relevant vector half-precision extensions; do not assume the base V extension includes half-precision arithmetic.
VFSGNJX.VF is a bit-level sign operation, commonly used for copy-sign, negate, or sign-XOR vector work.
Understand this scenario with real code like «vsetvli t0, a0, e32, m1, ta, ma vfsgnjx.vf v1, v2, ft0 # XOR sign».
Understand this scenario with real code like «vsetvli t0, a0, e32, m1, ta, ma vfsgnjx.vf v1, v2, ft0 # XOR sign».
No. Ordinary RVV floating-point operations and FP conversions use floating-point frm or an instruction-specified fixed rounding mode; vxrm is for fixed-point rounding instructions.