]> 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>
Fri, 13 Mar 2015 15:58:19 +0000 (12:58 -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 b0b9debca09c1e043cc2bbc6880434b48956275b..249dbedf70623525e1d767fdaddc87cd7e84a64b 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 754ac0a7e481b97ba2213710fd2f0191855f8465..312229073115e7b0a02a87068004aff9ef19ba9c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -12,7 +12,7 @@ Version 2.18.1
   14143, 14155, 14547, 14699, 15532, 15427, 15522, 15680, 15723, 15734,
   15735, 15797, 15892, 15895, 15909, 15915, 15917, 15996, 16072, 16150,
   16414, 16430, 16431, 16617, 16618, 17048, 17137, 17187, 17325, 17625,
-  17630.
+  17630, 18104.
 
 * Support for powerpc64le has been added.
 
index 1a7b31158d10ea4bda42f31033734781210370de..969c2afbd9177c9350cf843f097afdbd12995d54 100644 (file)
@@ -1,4 +1,5 @@
 ifeq ($(subdir),math)
 # branred depends on precise IEEE double rounding
 CFLAGS-branred.c = $(config-cflags-nofma)
+CFLAGS-e_pow.c = $(config-cflags-nofma)
 endif