aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2014-05-27 10:56:25 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2014-05-27 10:56:25 +0000
commit7a10ea9f108c45e576962256c061786ff1a1b3e8 (patch)
treeb7c5eab3dc01907e3d66be6a8a775c390caa8e3a /gcc/testsuite
parent597f59975ce15635260a58533e436748c9600c36 (diff)
downloadgcc-7a10ea9f108c45e576962256c061786ff1a1b3e8.zip
gcc-7a10ea9f108c45e576962256c061786ff1a1b3e8.tar.gz
gcc-7a10ea9f108c45e576962256c061786ff1a1b3e8.tar.bz2
[ARM] Vectorise bswap* in aarch32.
* config/arm/neon.md (neon_bswap<mode>): New pattern. * config/arm/arm.c (neon_itype): Add NEON_BSWAP. (arm_init_neon_builtins): Handle NEON_BSWAP. Define required type nodes. (arm_expand_neon_builtin): Handle NEON_BSWAP. (arm_builtin_vectorized_function): Handle BUILTIN_BSWAP builtins. * config/arm/arm_neon_builtins.def (bswap): Define builtins. * config/arm/iterators.md (VDQHSD): New mode iterator. * lib/target-supports.exp (check_effective_target_vect_bswap): Specify arm*-*-* support. From-SVN: r210967
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/target-supports.exp5
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d4e9ba8..3491f6e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * lib/target-supports.exp (check_effective_target_vect_bswap):
+ Specify arm*-*-* support.
+
2014-05-27 Dominique d'Humieres <dominiq@lps.ens.fr>
PR testsuite/61319
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 07f045a..5ec1608 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -3306,7 +3306,10 @@ proc check_effective_target_vect_bswap { } {
verbose "check_effective_target_vect_bswap: using cached result" 2
} else {
set et_vect_bswap_saved 0
- if { [istarget aarch64*-*-*] } {
+ if { [istarget aarch64*-*-*]
+ || ([istarget arm*-*-*]
+ && [check_effective_target_arm_neon])
+ } {
set et_vect_bswap_saved 1
}
}