diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-08-14 09:22:23 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-08-14 09:22:23 +0000 |
commit | 88a37c4d72899c5a3f5a7b2bca0ae0096f3270a3 (patch) | |
tree | 3ad3a1bc49ce7519cdbd9915c37e5abc003a3bc4 /gcc/builtins.c | |
parent | d29f7dd50de9e8e46f7e247c53f3b0405a3dadd9 (diff) | |
download | gcc-88a37c4d72899c5a3f5a7b2bca0ae0096f3270a3.zip gcc-88a37c4d72899c5a3f5a7b2bca0ae0096f3270a3.tar.gz gcc-88a37c4d72899c5a3f5a7b2bca0ae0096f3270a3.tar.bz2 |
[AArch64] Use SVE MOV /M of scalars
This patch uses MOV /M to optimise selects between a duplicated
scalar variable and a vector.
2019-08-14 Richard Sandiford <richard.sandiford@arm.com>
Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org>
gcc/
* config/aarch64/aarch64-sve.md (*aarch64_sel_dup<mode>): New pattern.
gcc/testsuite/
* g++.target/aarch64/sve/dup_sel_1.C: New test.
* g++.target/aarch64/sve/dup_sel_2.C: Likewise.
* g++.target/aarch64/sve/dup_sel_3.C: Likewise.
* g++.target/aarch64/sve/dup_sel_4.C: Likewise.
* g++.target/aarch64/sve/dup_sel_5.C: Likewise.
* g++.target/aarch64/sve/dup_sel_6.C: Likewise.
Co-Authored-By: Kugan Vivekanandarajah <kuganv@linaro.org>
From-SVN: r274442
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions