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.
Widen SEW elements of vs2 to 2*SEW and write to vd.
VFWCVT.F.XU.V performs RVV widening floating-point/integer conversion. Conversions that require rounding use frm. The source is SEW wide and the result is 2*SEW wide. 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.
VFWCVT.F.XU.V converts element types; first check whether the form is single-width, widening, or narrowing, then check where rounding comes from.
Understand this scenario with real code like «vsetvli t0, a0, e32, m1, ta, ma vfwcvt.f.xu.v v2, v4».
Understand this scenario with real code like «vsetvli t0, a0, e32, m1, ta, ma vfwcvt.f.xu.v v2, v4».
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.