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 bb8babae8f6661e25ede9738ab843b0b521cde67..32a6884cdbc5a52f12f9bacf96c3ef7e3bd8c0e5 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 e716dcb350c2f6d935f6cb522a45a642472a5a7c..c7390408c7ec546973a1ef2953190c761789bd17 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 13fd6d1b8ec8b634cef460cb4037eb18f5fad333..5a0524059b05fd5f6ed34312ee802a74ce14be65 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 2991e4d6c7a507ef6bfd6e81b3908f8a828e0612..5692d133a43078aa1ec93fc67eff84d1bf6aa271 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 2ca71adc8f1a9df3f466cd599f0f8854e5db2fa3..e63ab25877bbd537283346182b077a0b2e4935ba 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 f976a052c7cc8926bef6eb1a86d9ffb224f27f19..a21e70c2c6c82178bda54f9cbe9b059c9fdddd83 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 67f84a14a000e8d9ee00915dabfa55fbccceacca..4898c3bbddabf6e60d1d43b631bc2be1e0781e73 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>