arm: Auto-vectorization for MVE: vld2/vst2
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 8 Mar 2021 12:23:49 +0000 (12:23 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Mon, 24 May 2021 13:37:50 +0000 (13:37 +0000)
commit5ba5e856f327b1d6b69d51a11ef63ce89bfbc868
tree9fa98c8cac83b4b091bbb81d96491722f367c874
parent0f3cd532fa02d1787960bdd380d0a3f78343f024
arm: Auto-vectorization for MVE: vld2/vst2

This patch enables MVE vld2/vst2 instructions for auto-vectorization.
We move the existing expanders from neon.md and enable them for MVE,
calling the respective emitter.

2021-03-12  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/
* config/arm/neon.md (vec_load_lanesoi<mode>)
(vec_store_lanesoi<mode>): Move ...
* config/arm/vec-common.md: here.

gcc/testsuite/
* gcc.target/arm/simd/mve-vld2.c: New test, derived from
slp-perm-2.c
gcc/config/arm/neon.md
gcc/config/arm/vec-common.md
gcc/testsuite/gcc.target/arm/simd/mve-vld2.c [new file with mode: 0644]