From a33fd93601cae52dd1c53f92240e11b25b053e18 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 10 Mar 2015 09:38:54 -0400 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ NEWS | 2 +- sysdeps/ieee754/dbl-64/Makefile | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.47.2