From ba593ad58f849c711afc0f2255630757e020ccda Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Tue, 13 Jun 2017 10:23:51 +0000 Subject: [PATCH] sdiv_costs_1.c: Require arm_arch_v8a_ok and add march option. 2017-06-13 Tamar Christina * gcc.target/arm/sdiv_costs_1.c: Require arm_arch_v8a_ok and add march option. From-SVN: r249148 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/arm/sdiv_costs_1.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 37ea1268312..9f4b020a626 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-06-13 Tamar Christina + + * gcc.target/arm/sdiv_costs_1.c: + Require arm_arch_v8a_ok and add march option. + 2017-06-13 Martin Liska * gcc.dg/tree-ssa/builtin-sprintf-2.c: Adjust scanned pattern. diff --git a/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c b/gcc/testsuite/gcc.target/arm/sdiv_costs_1.c index 3920590dfcc..9d094ac0c1d 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" } */ -/* { dg-require-effective-target arm_v8_vfp_ok } */ +/* { dg-options "-O3 -march=armv8-a" } */ +/* { dg-require-effective-target arm_arch_v8a_ok } */ /* Both sdiv and udiv can be used here, so prefer udiv. */ int f1 (unsigned char *p) -- 2.30.2