armv8-sync-comp-swap.c: Replace 'do-require-effective-target' with 'dg-require-effect...
authorMatthew Wahab <matthew.wahab@arm.com>
Wed, 1 Jul 2015 12:16:01 +0000 (12:16 +0000)
committerMatthew Wahab <mwahab@gcc.gnu.org>
Wed, 1 Jul 2015 12:16:01 +0000 (12:16 +0000)
2015-07-01  Matthew Wahab  <matthew.wahab@arm.com>

* gcc.target/arm/armv8-sync-comp-swap.c: Replace
'do-require-effective-target' with 'dg-require-effective-target'.
* gcc.target/arm/armv8-sync-op-full.c: Likewise.
* gcc.target/arm/armv8-sync-op-release.c: Likewise.
* gcc.target/arm/armv8-sync-op-acquire.c: Likewise.  Also, replace
        'stlex' with 'strex' as the expected output.

From-SVN: r225241

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/armv8-sync-comp-swap.c
gcc/testsuite/gcc.target/arm/armv8-sync-op-acquire.c
gcc/testsuite/gcc.target/arm/armv8-sync-op-full.c
gcc/testsuite/gcc.target/arm/armv8-sync-op-release.c

index 65ce5f960de9cf3eaad62b18f41918457a2daafe..ca8c923b5de977123782b9246c7d386a6b1f19cb 100644 (file)
@@ -1,3 +1,12 @@
+2015-07-01  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * gcc.target/arm/armv8-sync-comp-swap.c: Replace
+       'do-require-effective-target' with 'dg-require-effective-target'.
+       * gcc.target/arm/armv8-sync-op-full.c: Likewise.
+       * gcc.target/arm/armv8-sync-op-release.c: Likewise.
+       * gcc.target/arm/armv8-sync-op-acquire.c: Likewise.  Also, replace
+        'stlex' with 'strex' as the expected output.
+
 2015-07-01  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/60365
index f96c81a8a9c4253350f962e4f04cf0dc097c93d8..0e95986d7a082fe3e6060b18386cff98eea95d20 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { do-require-effective-target arm_arch_v8a_ok } */
+/* { dg-require-effective-target arm_arch_v8a_ok } */
 /* { dg-options "-O2" } */
 /* { dg-add-options arm_arch_v8a } */
 
index 8d6659b70de6e1761ec97a96c2dcc160b08ca976..c44859981385f79e11505f5802a1267032d1aea9 100644 (file)
@@ -1,10 +1,10 @@
 /* { dg-do compile } */
-/* { do-require-effective-target arm_arch_v8a_ok } */
+/* { dg-require-effective-target arm_arch_v8a_ok } */
 /* { dg-options "-O2" } */
 /* { dg-add-options arm_arch_v8a } */
 
 #include "../aarch64/sync-op-acquire.x"
 
 /* { dg-final { scan-assembler-times "ldrex" 1 } } */
-/* { dg-final { scan-assembler-times "stlex" 1 } } */
+/* { dg-final { scan-assembler-times "strex" 1 } } */
 /* { dg-final { scan-assembler-times "dmb" 1 } } */
index a5ad3bd822f60d699f062bd7522292fe05e4a04b..cce9e0069731794ded3aa0f14ff9ff28ac2d26c5 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { do-require-effective-target arm_arch_v8a_ok } */
+/* { dg-require-effective-target arm_arch_v8a_ok } */
 /* { dg-options "-O2" } */
 /* { dg-add-options arm_arch_v8a } */
 
index 0d3be7b8c0e2902a4bea1a42d5a99cfac93e71a8..502a266010c6bfa1ed6a5f54dd00a1c8f7d235fd 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { do-require-effective-target arm_arch_v8a_ok } */
+/* { dg-require-effective-target arm_arch_v8a_ok } */
 /* { dg-options "-O2" } */
 /* { dg-add-options arm_arch_v8a } */