]> git.ipfire.org Git - thirdparty/glibc.git/commit
alpha: Fix missing inexact-flag raising in a lot of cases azanella/alpha-fixes
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 25 Aug 2025 15:53:56 +0000 (12:53 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 25 Aug 2025 16:08:39 +0000 (13:08 -0300)
commite57641eda8ef62bb0380dc822aa832e2d196a788
treeb99bf0c3fbcff8fc326b2821fe670c05c7ffe97b
parent909be679b01f1ac80c03360af85f7cab10cbee2e
alpha: Fix missing inexact-flag raising in a lot of cases

The alpha  uses -mieee, which is fully IEEE-compliant code except
that the inexact-flag.  However, a lot of functions now assumes
fully IEEE compliant, including inexact-flag.

This patch changes it to use -mieee-with-inexact instead, which
is simpler and more comprensible to just turn is implementation
by implementation (as done for fma).

The l*[rint|round]f codes uses alpha inline assembly, which also
not fully IEEE compliant.  Use the software fallback implementation
instead.
sysdeps/alpha/Makefile
sysdeps/alpha/fix-fp-int-convert-overflow.h [moved from sysdeps/alpha/fpu/s_lrint.c with 55% similarity]
sysdeps/alpha/fpu/s_llrint.c [deleted file]
sysdeps/alpha/fpu/s_llrintf.c [deleted file]
sysdeps/alpha/fpu/s_llround.c [deleted file]
sysdeps/alpha/fpu/s_llroundf.c [deleted file]
sysdeps/alpha/fpu/s_lrintf.c [deleted file]
sysdeps/alpha/fpu/s_lround.c [deleted file]
sysdeps/alpha/fpu/s_lroundf.c [deleted file]