[AArch64]Fix ICE at -O0 on vld1_lane intrinsics
authorAlan Lawrence <alan.lawrence@arm.com>
Tue, 9 Dec 2014 19:37:18 +0000 (19:37 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Tue, 9 Dec 2014 19:37:18 +0000 (19:37 +0000)
commit2310e29f49d5b2c7fe9c6ec920f79192728d0f87
tree74b082a0bf5ac48b075e597b767d0187e8d5851a
parent8f905d691e15b560e9b64d26c2e5ab281c1fb6fd
[AArch64]Fix ICE at -O0 on vld1_lane intrinsics

gcc/:

* config/aarch64/arm_neon.h (__AARCH64_NUM_LANES, __aarch64_lane *2):
New.
(aarch64_vset_lane_any): Redefine using previous, same for BE + LE.
(vset_lane_f32, vset_lane_f64, vset_lane_p8, vset_lane_p16,
vset_lane_s8, vset_lane_s16, vset_lane_s32, vset_lane_s64,
vset_lane_u8, vset_lane_u16, vset_lane_u32, vset_lane_u64): Remove
number of lanes.
(vld1_lane_f32, vld1_lane_f64, vld1_lane_p8, vld1_lane_p16,
vld1_lane_s8, vld1_lane_s16, vld1_lane_s32, vld1_lane_s64,
vld1_lane_u8, vld1_lane_u16, vld1_lane_u32, vld1_lane_u64): Call
__aarch64_vset_lane_any rather than vset_lane_xxx.

gcc/testsuite/:

* gcc.target/aarch64/vld1_lane-o0.c: New test.

From-SVN: r218531
gcc/ChangeLog
gcc/config/aarch64/arm_neon.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/vld1_lane-o0.c [new file with mode: 0644]