]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/54564 (Broken __builtin_ia32_vfmadds[sd]3)
authorJakub Jelinek <jakub@gcc.gnu.org>
Fri, 14 Sep 2012 12:37:16 +0000 (14:37 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 14 Sep 2012 12:37:16 +0000 (14:37 +0200)
commit5f08ae1eb5eeb4c6f0c44df030e3de77f7da2125
tree07885aefd53c51957b9d2d9f561ff365669852d0
parentaeeede334c2c91c311ee5222141defc67d12ccc7
re PR target/54564 (Broken __builtin_ia32_vfmadds[sd]3)

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.

From-SVN: r191298
gcc/config/i386/fmaintrin.h
gcc/config/i386/sse.md