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 252865c..abc7358 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 0e6dbbe..26ebbdf 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 fafe4d6..6c5f989 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" } } */