atomic-op-consume.c (scan-assember-times): Directive adjusted to XFAIL.
authorAlex Velenko <Alex.Velenko@arm.com>
Wed, 11 Feb 2015 19:01:08 +0000 (19:01 +0000)
committerAlex Velenko <avelenko@gcc.gnu.org>
Wed, 11 Feb 2015 19:01:08 +0000 (19:01 +0000)
gcc/testsuite/

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

From-SVN: r220628

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

index 0cdaf456c1e482994827c9bfb18dcbd1903d4efc..17dc81f0639bac82171919a11ebfcb8f39b53764 100644 (file)
@@ -1,3 +1,10 @@
+2015-02-11  Alex Velenko  <Alex.Velenko@arm.com>
+
+       * gcc.target/aarch64/atomic-op-consume.c (scan-assember-times):
+       Directive adjusted to XFAIL.
+       * gcc.target/arm/atomic-op-consume.c (scan-assember-times): Directive
+       adjusted to XFAIL.
+
 2015-02-11  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/65003
index 38d6c2cfb2c1cea6511c72c7901626fc31278a9f..0e6dbbed57235a38f759e0a6117bbc4f236c1f26 100644 (file)
@@ -3,5 +3,6 @@
 
 #include "atomic-op-consume.x"
 
-/* { dg-final { scan-assembler-times "ldxr\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */
+/* PR59448 consume not implemented yet.  */
+/* { dg-final { scan-assembler-times "ldxr\tw\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 { xfail *-*-* } } } */
 /* { dg-final { scan-assembler-times "stxr\tw\[0-9\]+, w\[0-9\]+, \\\[x\[0-9\]+\\\]" 6 } } */
index cc6c02835044ca50f8fe67425f8157f249c6bcf3..fafe4d6f1be5b90afa4dc29e4ea02fdbb6eba8ed 100644 (file)
@@ -5,9 +5,7 @@
 
 #include "../aarch64/atomic-op-consume.x"
 
-/* To workaround Bugzilla 59448 issue, a request for __ATOMIC_CONSUME is always
-   promoted to __ATOMIC_ACQUIRE, implemented as MEMMODEL_ACQUIRE.  This causes
-   "LDAEX" to be generated instead of "LDREX".  */
-/* { dg-final { scan-assembler-times "ldaex\tr\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 } } */
+/* PR59448 consume not implemented yet.  */
+/* { dg-final { scan-assembler-times "ldrex\tr\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 { xfail *-*-* } } } */
 /* { dg-final { scan-assembler-times "strex\t...?, r\[0-9\]+, \\\[r\[0-9\]+\\\]" 6 } } */
 /* { dg-final { scan-assembler-not "dmb" } } */