[AArch64] Fix PR/65770 vstN_lane on bigendian
authorAlan Lawrence <alan.lawrence@arm.com>
Wed, 29 Apr 2015 16:10:27 +0000 (16:10 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Wed, 29 Apr 2015 16:10:27 +0000 (16:10 +0000)
commitaaf3de7ab2aac4b0b4c5a4fb260ca1955350a360
tree4a55b5ba8775e74dd0346cc6baae9a5658bb9ef2
parent952bc7a64cd257de733fddaec64e320f973c6350
[AArch64] Fix PR/65770 vstN_lane on bigendian

gcc/:

* config/aarch64/aarch64-simd.md (vec_store_lanesoi_lane<mode>,
vec_store_lanesci_lane<mode>, vec_store_lanesxi_lane<mode>):
Flip lane index back at assembly time for bigendian.

gcc/testsuite/:

* gcc.target/aarch64/vstN_lane_1.c: New file.

From-SVN: r222582
gcc/ChangeLog
gcc/config/aarch64/aarch64-simd.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/vstN_lane_1.c [new file with mode: 0644]