sdiv_costs_1.c: Require arm_arch_v8a_ok and add march option.
authorTamar Christina <tamar.christina@arm.com>
Tue, 13 Jun 2017 10:23:51 +0000 (10:23 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Tue, 13 Jun 2017 10:23:51 +0000 (10:23 +0000)
2017-06-13  Tamar Christina  <tamar.christina@arm.com>

* gcc.target/arm/sdiv_costs_1.c:
Require arm_arch_v8a_ok and add march option.

From-SVN: r249148

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/sdiv_costs_1.c

index 37ea126831294f0d5b797550828775b5300bc01e..9f4b020a626d02a27ef27426ae00228fe006c5fe 100644 (file)
@@ -1,3 +1,8 @@
+2017-06-13  Tamar Christina  <tamar.christina@arm.com>
+
+       * gcc.target/arm/sdiv_costs_1.c:
+       Require arm_arch_v8a_ok and add march option.
+
 2017-06-13  Martin Liska  <mliska@suse.cz>
 
        * gcc.dg/tree-ssa/builtin-sprintf-2.c: Adjust scanned pattern.
index 3920590dfcce975aaf7cbe7a4d056df203b7ca2e..9d094ac0c1d12193e8db82120d266bae5b5bf297 100644 (file)
@@ -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)