Fix x86_64 fma4 pow inappropriate contraction (bug 19003).
authorJoseph Myers <joseph@codesourcery.com>
Thu, 24 Sep 2015 16:48:32 +0000 (16:48 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 24 Sep 2015 16:48:32 +0000 (16:48 +0000)
commit51df2605064a2bfd44fa0655ef9815812347de80
treea0abf7172d01f3766a34ccea0dbb5ea85703c42a
parent24ffcbfc24e08212cc5b1fa8318940e75b06313c
Fix x86_64 fma4 pow inappropriate contraction (bug 19003).

The x86_64 fma4 version of pow fails to disable contraction of
operations other than those explicitly intended to use fma
instructions, so resulting in large ulps errors on processors with
fma4 instructions, as in bug 18104 (165ulp for the test added for that
bug; error originally reported by "blaaa" on #glibc).  This patch adds
$(config-cflags-nofma) for e_pow-fma4.c, corresponding to the use for
e_pow.c in sysdeps/ieee754/dbl-64/Makefile.

Tested for x86_64 on a processor with fma4.

[BZ #19003]
* sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
$(config-cflags-nofma).
ChangeLog
NEWS
sysdeps/x86_64/fpu/multiarch/Makefile