diff options
author | Daniel Cederman <cederman@gaisler.com> | 2024-01-16 09:31:40 +0100 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-01-18 08:27:44 -0300 |
commit | a8f7c7797063d465c5b04b4e7c18d6f9d33007cb (patch) | |
tree | f098378b14932607e5d9deb90d558747bab843ef /sysdeps/htl/pt-attr-setschedparam.c | |
parent | 7bd06985c0a143cdcba2762bfe020e53514a53de (diff) | |
download | glibc-a8f7c7797063d465c5b04b4e7c18d6f9d33007cb.zip glibc-a8f7c7797063d465c5b04b4e7c18d6f9d33007cb.tar.gz glibc-a8f7c7797063d465c5b04b4e7c18d6f9d33007cb.tar.bz2 |
sparc: Fix llrint and llround missing exceptions on SPARC V8
Conversions from a float to a long long on SPARC v8 uses a libgcc function
that may not raise the correct exceptions on overflow. It also may raise
spurious "inexact" exceptions on non overflow cases. This patch fixes the
problem in the same way as for RV32.
Signed-off-by: Daniel Cederman <cederman@gaisler.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/htl/pt-attr-setschedparam.c')
0 files changed, 0 insertions, 0 deletions