mips.md (UNSPEC_COMPARE_AND_SWAP, [...]): New define_constants.
[official-gcc.git] / gcc / testsuite / gcc.target / mips / gcc-have-sync-compare-and-swap-1.c
blob315aa464e6e2068f8c5c747365272c4652999785
1 /* { dg-do preprocess } */
2 /* { dg-options "-mips32 -mabi=32" } */
4 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
5 #error nonono
6 #endif
8 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
9 #error nonono
10 #endif
12 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
13 #error nonono
14 #endif
16 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17 #error nonono
18 #endif
20 #ifdef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
21 #error nonono
22 #endif