CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2019/03/12 16:14:50

Modified files:
        lib/libm/arch/aarch64: fenv.c 
        sys/arch/arm64/include: fenv.h 

Log message:
Setting and getting the rounding mode on our arm64 FPU has not worked
in libm since the rounding mode is in fpcr, not fpsr.  Since both FPU
registers are 32-bit we can store them in the 64-bit fenv_t to make
handling the bits easier.

While there add FE_DENORMAL, which also exists on x86.  Also make sure
that whenever we are being passed an exception mask, we only allow the
bits that are supported by hardware.

Found by regression tests
Debugged with Moritz Buhl
ok kettenis@

Reply via email to