[ARM, patch, testsuite] Enable vect_condition tests for ARM/NEON
Ulrich Weigand
uweigand@de.ibm.com
Tue Feb 21 19:19:00 GMT 2012
Hello,
I just noticed that check_effective_target_vect_condition returns false
for ARM/NEON, even though the platforms in fact supports vectorized
conditional expressions. This causes a number of tests to be skipped
unnecessarily.
Fixed by the following patch. Tested on arm-linux-gnueabi with no
regressions, adds about 130 PASSes.
OK for mainline?
Bye,
Ulrich
testsuite/ChangeLog:
* lib/target-supports.exp (check_effective_target_vect_condition):
Return true for NEON.
Index: gcc/testsuite/lib/target-supports.exp
===================================================================
--- gcc/testsuite/lib/target-supports.exp (revision 184398)
+++ gcc/testsuite/lib/target-supports.exp (working copy)
@@ -3430,7 +3430,8 @@
|| [istarget ia64-*-*]
|| [istarget i?86-*-*]
|| [istarget spu-*-*]
- || [istarget x86_64-*-*] } {
+ || [istarget x86_64-*-*]
+ || ([istarget arm*-*-*] && [check_effective_target_arm_neon_ok]) } {
set et_vect_cond_saved 1
}
}
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
More information about the Gcc-patches
mailing list