From: Adhemerval Zanella Date: Tue, 10 Mar 2015 13:38:54 +0000 (-0400) Subject: powerpc: Fix incorrect results for pow when using FMA X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a33fd93601cae52dd1c53f92240e11b25b053e18;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index b0b9debca09..249dbedf706 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-03-10 Adhemerval Zanella + + * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add + $(config-cflags-nofma). + 2015-02-05 Paul Pluzhnikov [BZ #16618] diff --git a/NEWS b/NEWS index 754ac0a7e48..31222907311 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 1a7b31158d1..969c2afbd91 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