Fix several atomic tests on 32-bit x86 (PR testsuite/51258)
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 24 Nov 2011 16:34:09 +0000 (16:34 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 24 Nov 2011 16:34:09 +0000 (16:34 +0000)
PR testsuite/51258
* gcc.dg/atomic-compare-exchange-5.c: Add -mcx16 on i?86-*-*.
* gcc.dg/atomic-exchange-5.c: Likewise.
* gcc.dg/atomic-load-5.c: Likewise.
* gcc.dg/atomic-op-5.c: Likewise.
* gcc.dg/atomic-store-5.c: Likewise.
* gcc.dg/simulate-thread/atomic-other-int128.c: Fix typo.

From-SVN: r181697

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/atomic-compare-exchange-5.c
gcc/testsuite/gcc.dg/atomic-exchange-5.c
gcc/testsuite/gcc.dg/atomic-load-5.c
gcc/testsuite/gcc.dg/atomic-op-5.c
gcc/testsuite/gcc.dg/atomic-store-5.c
gcc/testsuite/gcc.dg/simulate-thread/atomic-other-int128.c

index bb8baba..32a6884 100644 (file)
@@ -1,3 +1,13 @@
+2011-11-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR testsuite/51258
+       * gcc.dg/atomic-compare-exchange-5.c: Add -mcx16 on i?86-*-*.
+       * gcc.dg/atomic-exchange-5.c: Likewise.
+       * gcc.dg/atomic-load-5.c: Likewise.
+       * gcc.dg/atomic-op-5.c: Likewise.
+       * gcc.dg/atomic-store-5.c: Likewise.
+       * gcc.dg/simulate-thread/atomic-other-int128.c: Fix typo.
+
 2011-11-24  Jakub Jelinek  <jakub@redhat.com>
 
        PR rtl-optimization/50290
index e716dcb..c739040 100644 (file)
@@ -2,7 +2,7 @@
    values with each valid memory model.  */
 /* { dg-do run } */
 /* { dg-require-effective-target sync_int_128 } */
-/* { dg-options "-mcx16" { target { x86_64-*-* } } } */
+/* { dg-options "-mcx16" { target { i?86-*-* x86_64-*-* } } } */
 
 /* Test the execution of __atomic_compare_exchange_n builtin for an int_128.  */
 
index 13fd6d1..5a05240 100644 (file)
@@ -2,7 +2,7 @@
    values with each valid memory model.  */
 /* { dg-do run } */
 /* { dg-require-effective-target sync_int_128 } */
-/* { dg-options "-mcx16" { target { x86_64-*-* } } } */
+/* { dg-options "-mcx16" { target { i?86-*-* x86_64-*-* } } } */
 
 /* Test the execution of the __atomic_X builtin for a 16 byte value.  */
 
index 2991e4d..5692d13 100644 (file)
@@ -2,7 +2,7 @@
    values with each valid memory model.  */
 /* { dg-do run } */
 /* { dg-require-effective-target sync_int_128 } */
-/* { dg-options "-mcx16" { target { x86_64-*-* } } } */
+/* { dg-options "-mcx16" { target { i?86-*-* x86_64-*-* } } } */
 
 extern void abort(void);
 
index 2ca71ad..e63ab25 100644 (file)
@@ -2,7 +2,7 @@
    values with each valid memory model.  */
 /* { dg-do run } */
 /* { dg-require-effective-target sync_int_128 } */
-/* { dg-options "-mcx16" { target { x86_64-*-* } } } */
+/* { dg-options "-mcx16" { target { i?86-*-* x86_64-*-* } } } */
 
 /* Test the execution of the __atomic_*OP builtin routines for an int_128.  */
 
index f976a05..a21e70c 100644 (file)
@@ -2,7 +2,7 @@
    values with each valid memory model.  */
 /* { dg-do run } */
 /* { dg-require-effective-target sync_int_128 } */
-/* { dg-options "-mcx16" { target { x86_64-*-* } } } */
+/* { dg-options "-mcx16" { target { i?86-*-* x86_64-*-* } } } */
 
 /* Test the execution of the __atomic_store_n builtin for a 16 byte value.  */
 
index 67f84a1..4898c3b 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do link } */
 /* { dg-require-effective-target sync_int_128 } */
-/* { dg-options "-mcx16" { target { x86_64-*-* i?86-*-*] } } } */
+/* { dg-options "-mcx16" { target { x86_64-*-* i?86-*-* } } } */
 /* { dg-final { simulate-thread } } */
 
 #include <stdio.h>