From: Tamar Christina Date: Tue, 13 Jun 2017 10:23:51 +0000 (+0000) Subject: sdiv_costs_1.c: Require arm_arch_v8a_ok and add march option. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba593ad58f849c711afc0f2255630757e020ccda;p=gcc.git 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 --- 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)