Does FROUND.H write an integer register?
No. The result is written to floating-point register f[rd]; the floating-point value is integral.
Round a half-precision floating-point value to an integral value in the same FP format, without setting NX.
FROUND.H rounds the half-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 half-precision floating-point format. The FROUND form does not set the inexact NX flag. A signaling NaN sets NV; quiet NaNs follow the floating-point NaN result rules.
FROUND.H differs from FCVT by output type: FROUND.H still writes a floating-point register, with the value rounded to an integral value. FROUND deliberately does not report inexact NX.
Understand this scenario with real code like «fround.h f0, f1, rne # f0 = round(f1), no inexact flag».
Understand this scenario with real code like «fround.h f0, f1, rne # f0 = round(f1), no inexact flag».
No. The result is written to floating-point register f[rd]; the floating-point value is integral.
FROUND does not set NX; FROUNDNX sets NX when inexact.