]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
powerpc: Fix incorrect results for pow when using FMA
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Tue, 10 Mar 2015 13:38:54 +0000 (09:38 -0400)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Tue, 10 Mar 2015 16:16:26 +0000 (13:16 -0300)
This patch adds no FMA generation for e_pow to avoid precision issues
for powerpc.  This fixes BZ#18104.

ChangeLog
NEWS
sysdeps/ieee754/dbl-64/Makefile

index 7d203366c95f2677c6d8cbd887ffb0c0f3cf1ad1..9533b240af6674da6da43c598c147f6f4d52edcd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
diff --git a/NEWS b/NEWS
index 5dba8c893eb8f8c63b1cff1f54b5d15f5d6ec07f..98d764af66654788fb98cbd3d6d34db218d673f1 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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
index 35f545ff8e459342a6d8eb27494cc25383bea51f..5557c75b4581a27c6a6818c7d3c6463f5de43635 100644 (file)
@@ -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