arm: Auto-vectorization for MVE: vld4/vst4
authorChristophe Lyon <christophe.lyon@linaro.org>
Thu, 11 Mar 2021 11:08:49 +0000 (11:08 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Mon, 24 May 2021 13:38:09 +0000 (13:38 +0000)
commit4eaf65ed6a6fbeefae28bd850329fb226e76f861
treeb71bee81bc4ba41043bad313727715559ea3b6c0
parent5ba5e856f327b1d6b69d51a11ef63ce89bfbc868
arm: Auto-vectorization for MVE: vld4/vst4

This patch enables MVE vld4/vst4 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_lanesxi<mode>)
(vec_store_lanexoi<mode>): Move ...
* config/arm/vec-common.md: here.

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