This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ARM, patch, testsuite] Enable vect_condition tests for ARM/NEON


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

Fixed by the following patch.   Tested on arm-linux-gnueabi with no
regressions, adds about 130 PASSes.

OK for mainline?



	* 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]