re PR testsuite/64930 (FAIL: gcc.target/powerpc/atomic-p7.c scan-assembler-times...
authorJakub Jelinek <jakub@redhat.com>
Thu, 12 Feb 2015 13:14:47 +0000 (14:14 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 12 Feb 2015 13:14:47 +0000 (14:14 +0100)
PR testsuite/64930
* gcc.target/powerpc/atomic-p7.c: Adjust expected count of isync
instructions for 2015-01-14 get_memmodel changes.
* gcc.target/powerpc/atomic-p8.c: Likewise.

From-SVN: r220646

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/atomic-p7.c
gcc/testsuite/gcc.target/powerpc/atomic-p8.c

index 01127e953c59b22acc4cbd4015ab17cc36161928..910e873adfe9a3c6bb3efbb248ed8275827e319f 100644 (file)
@@ -1,5 +1,10 @@
 2015-02-12  Jakub Jelinek  <jakub@redhat.com>
 
+       PR testsuite/64930
+       * gcc.target/powerpc/atomic-p7.c: Adjust expected count of isync
+       instructions for 2015-01-14 get_memmodel changes.
+       * gcc.target/powerpc/atomic-p8.c: Likewise.
+
        PR sanitizer/65019
        * g++.dg/ubsan/pr65019.C: New test.
 
index 9f62e6c4f0ce41c0665914ae1c57c1cc92c9cae4..657dc16cce71abd5c9cbcaac75566ae42d9e74cf 100644 (file)
@@ -14,7 +14,9 @@
 /* { dg-final { scan-assembler-times "stdcx" 6 } } */
 /* { dg-final { scan-assembler-not "stqcx" } } */
 /* { dg-final { scan-assembler-times "bl __atomic" 6 } } */
-/* { dg-final { scan-assembler-times "isync" 12 } } */
+/* As since PR59448 GCC promotes consume to acquire, the expected isync count
+   is 16 rather than 12.  */
+/* { dg-final { scan-assembler-times "isync" 16 } } */
 /* { dg-final { scan-assembler-times "lwsync" 8 } } */
 /* { dg-final { scan-assembler-not "mtvsrd" } } */
 /* { dg-final { scan-assembler-not "mtvsrwa" } } */
index b5255aac42b6ca757448d4d7ed4eac6c27ca3c45..fe7c0e0af83eb2893f703a2d27b4effa1b62b1cc 100644 (file)
@@ -14,7 +14,9 @@
 /* { dg-final { scan-assembler-times "stdcx" 7 } } */
 /* { dg-final { scan-assembler-times "stqcx" 7 } } */
 /* { dg-final { scan-assembler-not "bl __atomic" } } */
-/* { dg-final { scan-assembler-times "isync" 20 } } */
+/* As since PR59448 GCC promotes consume to acquire, the expected isync count
+   is 25 rather than 20.  */
+/* { dg-final { scan-assembler-times "isync" 25 } } */
 /* { dg-final { scan-assembler-times "lwsync" 10 } } */
 /* { dg-final { scan-assembler-not "mtvsrd" } } */
 /* { dg-final { scan-assembler-not "mtvsrwa" } } */