From: Matthew Wahab Date: Wed, 1 Jul 2015 12:16:01 +0000 (+0000) Subject: armv8-sync-comp-swap.c: Replace 'do-require-effective-target' with 'dg-require-effect... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9735e6ea8eda3f2707cbc46a153f2d271d62e09c;p=gcc.git armv8-sync-comp-swap.c: Replace 'do-require-effective-target' with 'dg-require-effective-target'. 2015-07-01 Matthew Wahab * 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 65ce5f960de..ca8c923b5de 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2015-07-01 Matthew Wahab + + * 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 PR c++/60365 diff --git a/gcc/testsuite/gcc.target/arm/armv8-sync-comp-swap.c b/gcc/testsuite/gcc.target/arm/armv8-sync-comp-swap.c index f96c81a8a9c..0e95986d7a0 100644 --- a/gcc/testsuite/gcc.target/arm/armv8-sync-comp-swap.c +++ b/gcc/testsuite/gcc.target/arm/armv8-sync-comp-swap.c @@ -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 } */ diff --git a/gcc/testsuite/gcc.target/arm/armv8-sync-op-acquire.c b/gcc/testsuite/gcc.target/arm/armv8-sync-op-acquire.c index 8d6659b70de..c4485998138 100644 --- a/gcc/testsuite/gcc.target/arm/armv8-sync-op-acquire.c +++ b/gcc/testsuite/gcc.target/arm/armv8-sync-op-acquire.c @@ -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 } } */ diff --git a/gcc/testsuite/gcc.target/arm/armv8-sync-op-full.c b/gcc/testsuite/gcc.target/arm/armv8-sync-op-full.c index a5ad3bd822f..cce9e006973 100644 --- a/gcc/testsuite/gcc.target/arm/armv8-sync-op-full.c +++ b/gcc/testsuite/gcc.target/arm/armv8-sync-op-full.c @@ -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 } */ diff --git a/gcc/testsuite/gcc.target/arm/armv8-sync-op-release.c b/gcc/testsuite/gcc.target/arm/armv8-sync-op-release.c index 0d3be7b8c0e..502a266010c 100644 --- a/gcc/testsuite/gcc.target/arm/armv8-sync-op-release.c +++ b/gcc/testsuite/gcc.target/arm/armv8-sync-op-release.c @@ -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 } */