+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
#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 } } */
#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" } } */