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.weig...@de.ibm.com

Reply via email to