diff mbox

[ARM,Committed] Disable sdiv_1 test on softfloat targets.

Message ID VI1PR0801MB20313DBE70212BD79BC2D498FFCD0@VI1PR0801MB2031.eurprd08.prod.outlook.com
State New
Headers show

Commit Message

Tamar Christina June 12, 2017, 12:35 p.m. UTC
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.christina@arm.com>

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

Thanks,
Tamar
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c
index 76086ab9ce28fceb37a4e8a615a38923fa7b985a..2ef397e22ca1643685ec7af31f76201746df5015 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-require-effective-target arm_hard_vfp_ok }  */
 
 /* Both sdiv and udiv can be used here, so prefer udiv.  */
 int f1 (unsigned char *p)