rt_gccstream/gcc/testsuite/gcc.target/i386/gcc-have-sync-compare-and-s...

24 lines
426 B
C

/* { dg-do preprocess } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-mcx16" } */
#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
#error nonono
#endif
#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
#error nonono
#endif
#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
#error nonono
#endif
#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
#error nonono
#endif
#ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
#error nonono
#endif