Committed a less restrictive form in r249125 which now just requires 
arm_v8_vfp_ok

gcc/testsuite/
2017-06-12  Tamar Christina  <tamar.christ...@arm.com>

        * gcc.target/arm/sdiv_costs_1.c: Require arm_v8_vfp_ok.

Thanks,
Tamar
________________________________________
From: gcc-patches-ow...@gcc.gnu.org <gcc-patches-ow...@gcc.gnu.org> on behalf 
of Tamar Christina <tamar.christ...@arm.com>
Sent: Monday, June 12, 2017 1:35:08 PM
To: GCC Patches
Cc: nd; Kyrylo Tkachov; Richard Earnshaw; Ramana Radhakrishnan
Subject: [GCC][PATCH][ARM][Committed] Disable sdiv_1 test on softfloat targets.

Hi All,

I committed this as r249122 under the GCC obvious rule.

This fixes the failing test gcc.target/arm/sdiv_costs_1.c on soft float targets
by disabling it on those targets since the div calls aren't expanded.

gcc/testsuite/
2017-06-12  Tamar Christina  <tamar.christ...@arm.com>

        * gcc.target/arm/sdiv_costs_1.c: Disable on softfloat.

Thanks,
Tamar
diff --git a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c
index 76086ab9ce28fceb37a4e8a615a38923fa7b985a..3920590dfcce975aaf7cbe7a4d056df203b7ca2e 100644
--- a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c
+++ b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -march=armv8-a" } */
+/* { dg-options "-O3" } */
+/* { dg-require-effective-target arm_v8_vfp_ok }  */
 
 /* Both sdiv and udiv can be used here, so prefer udiv.  */
 int f1 (unsigned char *p)

Reply via email to