[PATCH v2] riscv: Add macros for FPUCW/fcsr in fpu_control.h

Andreas Schwab schwab@linux-m68k.org
Mon Feb 13 08:39:29 GMT 2023


On Feb 13 2023, Shiqi Zhang wrote:

> The rounding mode RMM (Round to Nearest, ties to Max Magnitude) of
> RISC-V isn't part of the C standard.

Doesn't that match FE_TONEARESTFROMZERO?  In any case, an implementation
may add additional FE_ macros.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Libc-alpha mailing list