From 5ed2fdfee426fc7677b734915f13196bb3d53ab4 Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Mon, 12 Jun 2017 13:24:37 +0000 Subject: [PATCH] sdiv_costs_1.c: Require arm_v8_vfp_ok. 2017-06-12 Tamar Christina * gcc.target/arm/sdiv_costs_1.c: Require arm_v8_vfp_ok. From-SVN: r249125 --- gcc/testsuite/ChangeLog | 5 ++++- gcc/testsuite/gcc.target/arm/sdiv_costs_1.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 854ceb411cf..8b48a411f61 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,4 +1,7 @@ -gcc/testsuite/ +2017-06-12 Tamar Christina + + * gcc.target/arm/sdiv_costs_1.c: Require arm_v8_vfp_ok. + 2017-06-12 Tamar Christina * gcc.target/arm/sdiv_costs_1.c: Disable on softfloat. diff --git a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c index 2ef397e22ca..3920590dfcc 100644 --- a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c +++ b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -march=armv8-a" } */ -/* { dg-require-effective-target arm_hard_vfp_ok } */ +/* { 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) -- 2.30.2