]> git.ipfire.org Git - thirdparty/glibc.git/commit
alpha: Fix missing inexact-flag raising for lround/lrint
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Sat, 6 Sep 2025 22:23:22 +0000 (19:23 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 11 Sep 2025 17:48:00 +0000 (14:48 -0300)
commitdbebe0c4188607991ff2f4deca5707b4afe254f3
tree27b7a328a56e700c2b0d61ff088de2fdf07032ff
parentcde86de6272bbd1c5d5b6daa8555b0d6f0993c84
alpha: Fix missing inexact-flag raising for lround/lrint

The l*[rint|round]f implements uses alpha 'cvtst/s', 'addt/suc',
adn 'cvttq/svd' which are not not fully IEEE compliant w.r.t
inexact-flag raising..  Use the software fallback implementation
instead.

Checked on alpha-linux-gnu.

Tested-by: Michael Cree <mcree@orcon.net.nz>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
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]