This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/18104] powerpc: Incorrect results for pow when using FMA


https://sourceware.org/bugzilla/show_bug.cgi?id=18104

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, release/2.22/master has been updated
       via  c95a56e2a8b16eeb911eed5c1bdc8fd26f337f4d (commit)
      from  d6778fc4b0039b2116f88218212618ca357fee2f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c95a56e2a8b16eeb911eed5c1bdc8fd26f337f4d

commit c95a56e2a8b16eeb911eed5c1bdc8fd26f337f4d
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Sep 24 16:48:32 2015 +0000

    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).

    (cherry picked from commit 51df2605064a2bfd44fa0655ef9815812347de80)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                             |    6 ++++++
 NEWS                                  |    4 ++--
 sysdeps/x86_64/fpu/multiarch/Makefile |    2 +-
 3 files changed, 9 insertions(+), 3 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]