aarch64: Use dup and zip1 for interleaving elements in vector initializer.
commit769370f3e2e04823c8a621d8ffa756dd83ebf21e
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Tue, 6 Dec 2022 01:21:14 +0000 (6 06:51 +0530)
committerPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Tue, 6 Dec 2022 01:21:14 +0000 (6 06:51 +0530)
tree7466b87b6e14ad9922c3116c1ec4484f206fa824
parente6f93f450deb17ced884afd5216b759ff67d4ba9
aarch64: Use dup and zip1 for interleaving elements in vector initializer.

gcc/ChangeLog:
* config/aarch64/aarch64.cc (aarch64_expand_vector_init): Use dup
and zip1 for interleaving elements in vector initializer.

gcc/testsuite/ChangeLog:
* gcc.target/aarch64/interleave-init-1.c: New test.
gcc/config/aarch64/aarch64.cc
gcc/testsuite/gcc.target/aarch64/interleave-init-1.c [new file with mode: 0644]