[AArch64][1/2] Add support INS (element) instruction to copy lanes between vectors
authorJames Greenhalgh <james.greenhalgh@arm.com>
Thu, 30 Jun 2016 15:15:26 +0000 (15:15 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 30 Jun 2016 15:15:26 +0000 (15:15 +0000)
commit9bd622427288a8aac7e095842021b175087356d6
tree287cfe7959c29df698baf1e88eed9ebce402cb60
parent603107fbb0da3acb1ce296dfef1a592a6451c0b4
[AArch64][1/2] Add support INS (element) instruction to copy lanes between vectors

2016-06-30  James Greenhalgh  <james.greenhalgh@arm.com>
            Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* config/aarch64/aarch64-simd.md (*aarch64_simd_vec_copy_lane<mode>):
New define_insn.
(*aarch64_simd_vec_copy_lane_<vswap_width_name><mode>): Likewise.

* gcc.target/aarch64/vget_set_lane_1.c: New test.

Co-Authored-By: Kyrylo Tkachov <kyrylo.tkachov@arm.com>
From-SVN: r237882
gcc/ChangeLog
gcc/config/aarch64/aarch64-simd.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/vget_set_lane_1.c [new file with mode: 0644]