atomic-op-consume.c (scan-assember-times): Directive adjusted to scan for ldaxr.
authorAlex Velenko <Alex.Velenko@arm.com>
Mon, 16 Feb 2015 18:12:10 +0000 (18:12 +0000)
committerAlex Velenko <avelenko@gcc.gnu.org>
Mon, 16 Feb 2015 18:12:10 +0000 (18:12 +0000)
gcc/testsuite/

* gcc.target/aarch64/atomic-op-consume.c (scan-assember-times):
Directive adjusted to scan for ldaxr.
* gcc.target/arm/atomic-op-consume.c (scan-assember-times): Directive
adjusted to scan for ldaex.

From-SVN: r220740

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/atomic-op-consume.c
gcc/testsuite/gcc.target/arm/atomic-op-consume.c

index 252865c20e5cb9aa5c90f50c83a562414d6496e6..abc735816a2fb65972aebc4de8ee93f0fddabb9a 100644 (file)
@@ -1,3 +1,10 @@
+2015-02-16  Alex Velenko  <Alex.Velenko@arm.com>
+
+       * gcc.target/aarch64/atomic-op-consume.c (scan-assember-times):
+       Directive adjusted to scan for ldaxr.
+       * gcc.target/arm/atomic-op-consume.c (scan-assember-times): Directive
+       adjusted to scan for ldaex.
+
 2015-02-16  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/65080
index 0e6dbbed57235a38f759e0a6117bbc4f236c1f26..26ebbdf70aba3828482868c2ac18ad2cf8876c1e 100644 (file)
@@ -3,6 +3,6 @@
 
 #include "atomic-op-consume.x"
 
-/* PR59448 consume not implemented yet.  */
-/* { dg-final { scan-assembler-times "ldxr\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 { xfail *-*-* } } } */
+/* Scan for ldaxr is a PR59448 consume workaround.  */
+/* { dg-final { scan-assembler-times "ldaxr\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */
 /* { dg-final { scan-assembler-times "stxr\tw\[0-9\]+, w\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */
index fafe4d6f1be5b90afa4dc29e4ea02fdbb6eba8ed..6c5f989726138507b20d7fe02ed1c6e9d6b0a880 100644 (file)
@@ -5,7 +5,7 @@
 
 #include "../aarch64/atomic-op-consume.x"
 
-/* PR59448 consume not implemented yet.  */
-/* { dg-final { scan-assembler-times "ldrex\tr\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 { xfail *-*-* } } } */
+/* Scan for ldaex is a PR59448 consume workaround.  */
+/* { dg-final { scan-assembler-times "ldaex\tr\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 } } */
 /* { dg-final { scan-assembler-times "strex\t...?, r\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 } } */
 /* { dg-final { scan-assembler-not "dmb" } } */