gcc/testsuite/gcc.target/i386/gcc-have-sync-compare-and-swap-4.c
raw| 1 | /* { dg-do preprocess { target { ! ia32 } } } */ |
| 2 | /* { dg-options "-mcx16" } */ |
| 3 | |
| 4 | #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 |
| 5 | #error nonono |
| 6 | #endif |
| 7 | |
| 8 | #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 |
| 9 | #error nonono |
| 10 | #endif |
| 11 | |
| 12 | #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 |
| 13 | #error nonono |
| 14 | #endif |
| 15 | |
| 16 | #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 |
| 17 | #error nonono |
| 18 | #endif |
| 19 | |
| 20 | #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 |
| 21 | #error nonono |
| 22 | #endif |