Do these instructions use vxrm?
No. FP arithmetic and conversions use frm or an instruction-specified fixed rounding mode; vxrm is for fixed-point rounding instructions.
Compare corresponding elements of vs2 and vs1, write the larger to vd.
VFMAX.VV compares floating-point operands element-wise and selects the maximum according to the RISC-V floating-point min/max rules. It is not an FMA instruction; NaN, signaling-NaN invalid-flag, and signed-zero behavior follow scalar FMIN/FMAX rules. Vector FP32/FP64 operation requires the corresponding scalar F/D support; FP16 is controlled by the relevant vector half-precision extensions, and the base V extension does not automatically include half-precision arithmetic.
VFMAX.VV is vector FP maximum selection; interpret NaN and signed-zero behavior through FMIN/FMAX semantics.
Understand this scenario with real code like «vsetvli t0, a0, e32, m1, ta, ma vfmax.vv v1, v2, v3 # v1[i] = max(v2[i], v3[i])».
Understand this scenario with real code like «vsetvli t0, a0, e32, m1, ta, ma vfmax.vv v1, v2, v3 # v1[i] = max(v2[i], v3[i])».
No. FP arithmetic and conversions use frm or an instruction-specified fixed rounding mode; vxrm is for fixed-point rounding instructions.