re PR target/66560 (Fails to generate ADDSUBPS)
authorUros Bizjak <ubizjak@gmail.com>
Tue, 23 Jun 2015 08:50:12 +0000 (10:50 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 23 Jun 2015 08:50:12 +0000 (10:50 +0200)
commit7121e32beac871f5fcd1a141c23844a41303efc5
tree3f45d6db406100cc28f0045d15e667e61159413d
parent31575896b2380fea53d76e24c2f811d4209253ae
re PR target/66560 (Fails to generate ADDSUBPS)

PR target/66560
* config/i386/predicates.md (addsub_vm_operator): New predicate.
(addsub_vs_operator): Ditto.
(addsub_vs_parallel): Ditto.
* config/i386/sse.md (ssedoublemode): Add V4SF and V2DF modes.
(avx_addsubv4df3, avx_addsubv8sf3, sse3_addsubv2df3, sse3_addsubv4sf3):
Put minus RTX before plus and adjust vec_merge selector.
(*avx_addsubv4df3_1, *avx_addsubv4df3_1s, *sse3_addsubv2df3_1)
(*sse_addsubv2df3_1s, *avx_addsubv8sf3_1, *avx_addsubv8sf3_1s)
(*sse3_addsubv4sf3_1, *sse_addsubv4sf3_1s): Remove insn patterns.
(addsub vec_merge splitters): New combiner splitters.
(addsub vec_select/vec_concat splitters): Ditto.

testsuite/ChangeLog:

PR target/66560
* gcc.target/i386/pr66560-1.c: New test.
* gcc.target/i386/pr66560-2.c: Ditto.
* gcc.target/i386/pr66560-3.c: Ditto.
* gcc.target/i386/pr66560-4.c: Ditto.

From-SVN: r224824
gcc/ChangeLog
gcc/config/i386/predicates.md
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr66560-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr66560-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr66560-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr66560-4.c [new file with mode: 0644]