[AArch64] More aarch64_endian_lane_rtx
authorRichard Sandiford <richard.sandiford@linaro.org>
Mon, 13 Nov 2017 08:21:16 +0000 (08:21 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 13 Nov 2017 08:21:16 +0000 (08:21 +0000)
commit441b4d0fa20992086704ebf013a4f8c3a41c96b0
tree3b516c242fa295288c1b96d50ba9210b64be8173
parent41a0d8d4c09552cf8242e30ac9137960f4ded681
[AArch64] More aarch64_endian_lane_rtx

r254466 failed to update some uses of ENDIAN_LANE_N that were added after
the patch was initially written, which meant that we were treating the
mode number as an element count.

2017-11-13  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
* config/aarch64/aarch64-simd.md (aarch64_store_lane0<mode>):
Upddate call to ENDIAN_LANE_N.
(aarch64_<sur>dot_lane<vsi2qi>): Use aarch64_endian_lane_rtx.
(aarch64_<sur>dot_laneq<vsi2qi>): Likewise.
(*aarch64_simd_vec_copy_lane<mode>): Update calls to ENDIAN_LANE_N
and use aarch64_endian_lane_rtx.
(*aarch64_simd_vec_copy_lane_<vswap_width_name><mode>): Likewise.

From-SVN: r254670
gcc/ChangeLog
gcc/config/aarch64/aarch64-simd.md