about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-03-10 09:38:54 -0400
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>2015-03-13 12:58:19 -0300
commita33fd93601cae52dd1c53f92240e11b25b053e18 (patch)
tree76df2f32d6280ad56da9feab67384208f69a14fd
parentb264bc083b9f021664a00a274f420b2e34e3913c (diff)
downloadglibc-a33fd93601cae52dd1c53f92240e11b25b053e18.tar.gz
glibc-a33fd93601cae52dd1c53f92240e11b25b053e18.tar.xz
glibc-a33fd93601cae52dd1c53f92240e11b25b053e18.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--ChangeLog5
-rw-r--r--NEWS2
-rw-r--r--sysdeps/ieee754/dbl-64/Makefile1
3 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b0b9debca0..249dbedf70 100644
--- 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 754ac0a7e4..3122290731 100644
--- 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.
 
diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile
index 1a7b31158d..969c2afbd9 100644
--- a/sysdeps/ieee754/dbl-64/Makefile
+++ b/sysdeps/ieee754/dbl-64/Makefile
@@ -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