When does rm matter for fcvt.q.s?
It does not matter for the numeric result. This form is an exact widening conversion and does not require rounding.
Convert single to quad FP. Never rounds. R-type, fmt=Q(11), rs2=source S(00).
fcvt.q.s converts a single-precision source operand to a wider quad-precision result. This floating-point widening conversion is exact and does not round.
fcvt.q.s converts a single-precision source operand to a wider quad-precision result. This floating-point widening conversion is exact and does not round.
Understand this scenario with real code like «fcvt.q.s f0, f1 # f0 = (quad)(float)f1».
Understand this scenario with real code like «fcvt.q.s f0, f1 # f0 = (quad)(float)f1».
It does not matter for the numeric result. This form is an exact widening conversion and does not require rounding.
It differs by source/destination format, integer signedness, RV64 restrictions, and whether rounding or invalid conversion can occur.