[AArch64] Add support for 64-bit vector-mode ldp/stp
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 20 Oct 2015 17:18:24 +0000 (17:18 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 20 Oct 2015 17:18:24 +0000 (17:18 +0000)
commitabc5231831d8356f563e89ab3f2e93bd98eaac57
tree50316c8eb7d794add1ffd73710e6f6f159686ec2
parent361efe0562a2feeddaf15037d6f231f622b2118b
[AArch64] Add support for 64-bit vector-mode ldp/stp

* config/aarch64/aarch64.c (aarch64_mode_valid_for_sched_fusion_p):
New function.
(fusion_load_store): Use it.
* config/aarch64/aarch64-ldpstp.md: Add new peephole2s for
ldp and stp in VD modes.
* config/aarch64/aarch64-simd.md (load_pair<mode>, VD): New pattern.
(store_pair<mode>, VD): Likewise.

* gcc.target/aarch64/stp_vec_64_1.c: New test.
* gcc.target/aarch64/ldp_vec_64_1.c: Likewise.

From-SVN: r229094
gcc/ChangeLog
gcc/config/aarch64/aarch64-ldpstp.md
gcc/config/aarch64/aarch64-simd.md
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/ldp_vec_64_1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/stp_vec_64_1.c [new file with mode: 0644]