Does FROUNDNX.Q write an integer register?
No. The result is written to floating-point register f[rd]; the floating-point value is integral.
Round a quad-precision floating-point value to an integral value in the same FP format, setting NX when required.
FROUNDNX.Q rounds the quad-precision floating-point value in f[rs1] to an integral value according to rm, but writes the result back to f[rd] in the same quad-precision floating-point format. The FROUNDNX form sets NX when the result is inexact. A signaling NaN sets NV; quiet NaNs follow the floating-point NaN result rules.
FROUNDNX.Q differs from FCVT by output type: FROUNDNX.Q still writes a floating-point register, with the value rounded to an integral value. FROUNDNX also reports inexact NX.
Understand this scenario with real code like «froundnx.q f0, f1, rne # f0 = round(f1) with inexact flag».
Understand this scenario with real code like «froundnx.q f0, f1, rne # f0 = round(f1) with inexact flag».
No. The result is written to floating-point register f[rd]; the floating-point value is integral.
FROUNDNX sets NX when inexact; FROUND does not set NX.