From patchwork Tue Feb 21 18:26:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [ARM,testsuite] Enable vect_condition tests for ARM/NEON From: Ulrich Weigand X-Patchwork-Id: 142346 Message-Id: <201202211826.q1LIQqLG028085@d06av02.portsmouth.uk.ibm.com> To: gcc-patches@gcc.gnu.org Cc: ramana.radhakrishnan@linaro.org Date: Tue, 21 Feb 2012 19:26:52 +0100 (CET) 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 } }