diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-03-10 09:38:54 -0400 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2015-03-10 13:16:26 -0300 |
commit | cd09e62308b410bba8ac98dc6f5a9438b8e16dac (patch) | |
tree | 61f71b657397b1759a71ab6c4ec9ed83af7adf36 | |
parent | b5faf032c4c6a2260a9a93d8d4df611caa8b54cc (diff) | |
download | glibc-cd09e62308b410bba8ac98dc6f5a9438b8e16dac.tar glibc-cd09e62308b410bba8ac98dc6f5a9438b8e16dac.tar.gz glibc-cd09e62308b410bba8ac98dc6f5a9438b8e16dac.tar.bz2 glibc-cd09e62308b410bba8ac98dc6f5a9438b8e16dac.zip |
powerpc: Fix incorrect results for pow when using FMA
This patch adds no FMA generation for e_pow to avoid precision issues
for powerpc. This fixes BZ#18104.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/dbl-64/Makefile | 1 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add + $(config-cflags-nofma). + 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #16618] @@ -11,7 +11,7 @@ Version 2.19.1 16545, 16617, 16618, 16683, 16689, 16701, 16706, 16707, 16739, 16815, 16619, 16740, 17031, 17048, 17137, 17153, 17187, 17213, 17325, 17625, - 17630. + 17630, 18104. * CVE-2104-7817 The wordexp function could ignore the WRDE_NOCMD flag under certain input conditions resulting in the execution of a shell for diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile index 35f545ff8e..5557c75b45 100644 --- a/sysdeps/ieee754/dbl-64/Makefile +++ b/sysdeps/ieee754/dbl-64/Makefile @@ -2,4 +2,5 @@ ifeq ($(subdir),math) # branred depends on precise IEEE double rounding CFLAGS-branred.c = $(config-cflags-nofma) CFLAGS-e_sqrt.c = $(config-cflags-nofma) +CFLAGS-e_pow.c = $(config-cflags-nofma) endif |