aboutsummaryrefslogtreecommitdiff
path: root/scripts/move-if-change
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2025-02-25 15:57:53 -0500
committerJohn David Anglin <danglin@gcc.gnu.org>2025-02-25 15:57:53 -0500
commit2fe5e2af0995a6e6ee2c761e55e7596a3220d07c (patch)
treee9771264aa6599058ea868fe5476a7cc4bf89543 /scripts/move-if-change
parent3fd2ff7685e3ee85c8cd2896f28ad62f67d7c483 (diff)
downloadglibc-master.zip
glibc-master.tar.gz
glibc-master.tar.bz2
math: Add optimization barrier to ensure a1 + u.d is not reused [BZ #30664]HEADmaster
A number of fma tests started to fail on hppa when gcc was changed to use Ranger rather than EVRP. Eventually I found that the value of a1 + u.d in this is block of code was being computed in FE_TOWARDZERO mode and not the original rounding mode: if (TININESS_AFTER_ROUNDING) { w.d = a1 + u.d; if (w.ieee.exponent == 109) return w.d * 0x1p-108; } This caused the exponent value to be wrong and the wrong return path to be used. Here we add an optimization barrier after the rounding mode is reset to ensure that the previous value of a1 + u.d is not reused. Signed-off-by: John David Anglin <dave.anglin@bell.net>
Diffstat (limited to 'scripts/move-if-change')
0 files changed, 0 insertions, 0 deletions