[Bug target/54564] [4.8 Regression] Broken __builtin_ia32_vfmadds[sd]3

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 20 15:53:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54564

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-20 15:52:49 UTC ---
Author: jakub
Date: Thu Sep 20 15:52:41 2012
New Revision: 191570

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191570
Log:
    Backported from mainline
    2012-09-14  Jakub Jelinek  <jakub@redhat.com>

    PR target/54564
    * config/i386/sse.md (fmai_vmfmadd_<mode>): Use (match_dup 1)
    instead of (match_dup 0) as second argument to vec_merge.
    (*fmai_fmadd_<mode>, *fmai_fmsub_<mode>): Likewise.
    Remove third alternative.
    (*fmai_fnmadd_<mode>, *fmai_fnmsub_<mode>): Likewise.  Negate
    operand 2 instead of operand 1, but put it as first argument
    of fma.
    * config/i386/fmaintrin.h (_mm_fnmadd_sd, _mm_fnmadd_ss,
    _mm_fnmsub_sd, _mm_fnmsub_ss): Negate the second argument instead
    of the first.

Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/config/i386/fmaintrin.h
    branches/gcc-4_7-branch/gcc/config/i386/sse.md



More information about the Gcc-bugs mailing list