sdiv_costs_1.c: Require arm_v8_vfp_ok.

2017-06-12  Tamar Christina  <tamar.christina@arm.com>

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

From-SVN: r249125
This commit is contained in:
Tamar Christina 2017-06-12 13:24:37 +00:00 committed by Tamar Christina
parent 3266ddb36a
commit 5ed2fdfee4
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,7 @@
gcc/testsuite/
2017-06-12 Tamar Christina <tamar.christina@arm.com>
* gcc.target/arm/sdiv_costs_1.c: Require arm_v8_vfp_ok.
2017-06-12 Tamar Christina <tamar.christina@arm.com>
* gcc.target/arm/sdiv_costs_1.c: Disable on softfloat.

View File

@ -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)