#include #include void foo() { volatile _Bool * vpB = 0; _Bool vB = 0; volatile char * vp1 = 0; char * rp1 = 0; char v1 = 0; volatile short * vp2 = 0; short * rp2 = 0; short v2 = 0; volatile int * vp4 = 0; int * rp4 = 0; int v4 = 0; volatile long long int * vp8 = 0; long long int * rp8 = 0; long long int v8 = 0; #if defined(__SIZEOF_INT128__) volatile __int128 * vp16 = 0; __int128 * rp16 = 0; __int128 v16 = 0; #endif struct type * volatile * vpp = 0; struct type ** rpp = 0; struct type * vp = 0; { char ret; ret = __sync_fetch_and_add(vp1, v1); } { char ret; ret = __sync_fetch_and_add_1(vp1, v1); } { short ret; ret = __sync_fetch_and_add(vp2, v2); } { short ret; ret = __sync_fetch_and_add_2(vp2, v2); } { int ret; ret = __sync_fetch_and_add(vp4, v4); } { int ret; ret = __sync_fetch_and_add_4(vp4, v4); } { long long int ret; ret = __sync_fetch_and_add(vp8, v8); } { long long int ret; ret = __sync_fetch_and_add_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_fetch_and_add(vp16, v16); } { __int128 ret; ret = __sync_fetch_and_add_16(vp16, v16); } #endif { char ret; ret = __sync_fetch_and_sub(vp1, v1); } { char ret; ret = __sync_fetch_and_sub_1(vp1, v1); } { short ret; ret = __sync_fetch_and_sub(vp2, v2); } { short ret; ret = __sync_fetch_and_sub_2(vp2, v2); } { int ret; ret = __sync_fetch_and_sub(vp4, v4); } { int ret; ret = __sync_fetch_and_sub_4(vp4, v4); } { long long int ret; ret = __sync_fetch_and_sub(vp8, v8); } { long long int ret; ret = __sync_fetch_and_sub_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_fetch_and_sub(vp16, v16); } { __int128 ret; ret = __sync_fetch_and_sub_16(vp16, v16); } #endif { char ret; ret = __sync_fetch_and_or(vp1, v1); } { char ret; ret = __sync_fetch_and_or_1(vp1, v1); } { short ret; ret = __sync_fetch_and_or(vp2, v2); } { short ret; ret = __sync_fetch_and_or_2(vp2, v2); } { int ret; ret = __sync_fetch_and_or(vp4, v4); } { int ret; ret = __sync_fetch_and_or_4(vp4, v4); } { long long int ret; ret = __sync_fetch_and_or(vp8, v8); } { long long int ret; ret = __sync_fetch_and_or_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_fetch_and_or(vp16, v16); } { __int128 ret; ret = __sync_fetch_and_or_16(vp16, v16); } #endif { char ret; ret = __sync_fetch_and_and(vp1, v1); } { char ret; ret = __sync_fetch_and_and_1(vp1, v1); } { short ret; ret = __sync_fetch_and_and(vp2, v2); } { short ret; ret = __sync_fetch_and_and_2(vp2, v2); } { int ret; ret = __sync_fetch_and_and(vp4, v4); } { int ret; ret = __sync_fetch_and_and_4(vp4, v4); } { long long int ret; ret = __sync_fetch_and_and(vp8, v8); } { long long int ret; ret = __sync_fetch_and_and_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_fetch_and_and(vp16, v16); } { __int128 ret; ret = __sync_fetch_and_and_16(vp16, v16); } #endif { char ret; ret = __sync_fetch_and_xor(vp1, v1); } { char ret; ret = __sync_fetch_and_xor_1(vp1, v1); } { short ret; ret = __sync_fetch_and_xor(vp2, v2); } { short ret; ret = __sync_fetch_and_xor_2(vp2, v2); } { int ret; ret = __sync_fetch_and_xor(vp4, v4); } { int ret; ret = __sync_fetch_and_xor_4(vp4, v4); } { long long int ret; ret = __sync_fetch_and_xor(vp8, v8); } { long long int ret; ret = __sync_fetch_and_xor_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_fetch_and_xor(vp16, v16); } { __int128 ret; ret = __sync_fetch_and_xor_16(vp16, v16); } #endif { char ret; ret = __sync_fetch_and_nand(vp1, v1); } { char ret; ret = __sync_fetch_and_nand_1(vp1, v1); } { short ret; ret = __sync_fetch_and_nand(vp2, v2); } { short ret; ret = __sync_fetch_and_nand_2(vp2, v2); } { int ret; ret = __sync_fetch_and_nand(vp4, v4); } { int ret; ret = __sync_fetch_and_nand_4(vp4, v4); } { long long int ret; ret = __sync_fetch_and_nand(vp8, v8); } { long long int ret; ret = __sync_fetch_and_nand_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_fetch_and_nand(vp16, v16); } { __int128 ret; ret = __sync_fetch_and_nand_16(vp16, v16); } #endif { char ret; ret = __sync_add_and_fetch(vp1, v1); } { char ret; ret = __sync_add_and_fetch_1(vp1, v1); } { short ret; ret = __sync_add_and_fetch(vp2, v2); } { short ret; ret = __sync_add_and_fetch_2(vp2, v2); } { int ret; ret = __sync_add_and_fetch(vp4, v4); } { int ret; ret = __sync_add_and_fetch_4(vp4, v4); } { long long int ret; ret = __sync_add_and_fetch(vp8, v8); } { long long int ret; ret = __sync_add_and_fetch_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_add_and_fetch(vp16, v16); } { __int128 ret; ret = __sync_add_and_fetch_16(vp16, v16); } #endif { char ret; ret = __sync_sub_and_fetch(vp1, v1); } { char ret; ret = __sync_sub_and_fetch_1(vp1, v1); } { short ret; ret = __sync_sub_and_fetch(vp2, v2); } { short ret; ret = __sync_sub_and_fetch_2(vp2, v2); } { int ret; ret = __sync_sub_and_fetch(vp4, v4); } { int ret; ret = __sync_sub_and_fetch_4(vp4, v4); } { long long int ret; ret = __sync_sub_and_fetch(vp8, v8); } { long long int ret; ret = __sync_sub_and_fetch_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_sub_and_fetch(vp16, v16); } { __int128 ret; ret = __sync_sub_and_fetch_16(vp16, v16); } #endif { char ret; ret = __sync_or_and_fetch(vp1, v1); } { char ret; ret = __sync_or_and_fetch_1(vp1, v1); } { short ret; ret = __sync_or_and_fetch(vp2, v2); } { short ret; ret = __sync_or_and_fetch_2(vp2, v2); } { int ret; ret = __sync_or_and_fetch(vp4, v4); } { int ret; ret = __sync_or_and_fetch_4(vp4, v4); } { long long int ret; ret = __sync_or_and_fetch(vp8, v8); } { long long int ret; ret = __sync_or_and_fetch_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_or_and_fetch(vp16, v16); } { __int128 ret; ret = __sync_or_and_fetch_16(vp16, v16); } #endif { char ret; ret = __sync_and_and_fetch(vp1, v1); } { char ret; ret = __sync_and_and_fetch_1(vp1, v1); } { short ret; ret = __sync_and_and_fetch(vp2, v2); } { short ret; ret = __sync_and_and_fetch_2(vp2, v2); } { int ret; ret = __sync_and_and_fetch(vp4, v4); } { int ret; ret = __sync_and_and_fetch_4(vp4, v4); } { long long int ret; ret = __sync_and_and_fetch(vp8, v8); } { long long int ret; ret = __sync_and_and_fetch_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_and_and_fetch(vp16, v16); } { __int128 ret; ret = __sync_and_and_fetch_16(vp16, v16); } #endif { char ret; ret = __sync_xor_and_fetch(vp1, v1); } { char ret; ret = __sync_xor_and_fetch_1(vp1, v1); } { short ret; ret = __sync_xor_and_fetch(vp2, v2); } { short ret; ret = __sync_xor_and_fetch_2(vp2, v2); } { int ret; ret = __sync_xor_and_fetch(vp4, v4); } { int ret; ret = __sync_xor_and_fetch_4(vp4, v4); } { long long int ret; ret = __sync_xor_and_fetch(vp8, v8); } { long long int ret; ret = __sync_xor_and_fetch_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_xor_and_fetch(vp16, v16); } { __int128 ret; ret = __sync_xor_and_fetch_16(vp16, v16); } #endif { char ret; ret = __sync_nand_and_fetch(vp1, v1); } { char ret; ret = __sync_nand_and_fetch_1(vp1, v1); } { short ret; ret = __sync_nand_and_fetch(vp2, v2); } { short ret; ret = __sync_nand_and_fetch_2(vp2, v2); } { int ret; ret = __sync_nand_and_fetch(vp4, v4); } { int ret; ret = __sync_nand_and_fetch_4(vp4, v4); } { long long int ret; ret = __sync_nand_and_fetch(vp8, v8); } { long long int ret; ret = __sync_nand_and_fetch_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_nand_and_fetch(vp16, v16); } { __int128 ret; ret = __sync_nand_and_fetch_16(vp16, v16); } #endif { _Bool ret; ret = __sync_bool_compare_and_swap(vp1, v1, v1); } { _Bool ret; ret = __sync_bool_compare_and_swap_1(vp1, v1, v1); } { _Bool ret; ret = __sync_bool_compare_and_swap(vp2, v2, v2); } { _Bool ret; ret = __sync_bool_compare_and_swap_2(vp2, v2, v2); } { _Bool ret; ret = __sync_bool_compare_and_swap(vp4, v4, v4); } { _Bool ret; ret = __sync_bool_compare_and_swap_4(vp4, v4, v4); } { _Bool ret; ret = __sync_bool_compare_and_swap(vp8, v8, v8); } { _Bool ret; ret = __sync_bool_compare_and_swap_8(vp8, v8, v8); } #if defined(__SIZEOF_INT128__) { _Bool ret; ret = __sync_bool_compare_and_swap(vp16, v16, v16); } { _Bool ret; ret = __sync_bool_compare_and_swap_16(vp16, v16,v16); } #endif { _Bool ret; ret = __sync_bool_compare_and_swap(vpp, vp, vp); } { char ret; ret = __sync_val_compare_and_swap(vp1, v1, v1); } { char ret; ret = __sync_val_compare_and_swap_1(vp1, v1, v1); } { short ret; ret = __sync_val_compare_and_swap(vp2, v2, v2); } { short ret; ret = __sync_val_compare_and_swap_2(vp2, v2, v2); } { int ret; ret = __sync_val_compare_and_swap(vp4, v4, v4); } { int ret; ret = __sync_val_compare_and_swap_4(vp4, v4, v4); } { long long int ret; ret = __sync_val_compare_and_swap(vp8, v8, v8); } { long long int ret; ret = __sync_val_compare_and_swap_8(vp8, v8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_val_compare_and_swap(vp16, v16, v16); } { __int128 ret; ret = __sync_val_compare_and_swap_16(vp16, v16,v16); } #endif { struct type * ret; ret = __sync_val_compare_and_swap(vpp, vp, vp); } { char ret; ret = __sync_lock_test_and_set(vp1, v1); } { char ret; ret = __sync_lock_test_and_set_1(vp1, v1); } { short ret; ret = __sync_lock_test_and_set(vp2, v2); } { short ret; ret = __sync_lock_test_and_set_2(vp2, v2); } { int ret; ret = __sync_lock_test_and_set(vp4, v4); } { int ret; ret = __sync_lock_test_and_set_4(vp4, v4); } { long long int ret; ret = __sync_lock_test_and_set(vp8, v8); } { long long int ret; ret = __sync_lock_test_and_set_8(vp8, v8); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __sync_lock_test_and_set(vp16, v16); } { __int128 ret; ret = __sync_lock_test_and_set_16(vp16, v16); } #endif { __sync_lock_release(vp1); } { __sync_lock_release_1(vp1); } { __sync_lock_release(vp2); } { __sync_lock_release_2(vp2); } { __sync_lock_release(vp4); } { __sync_lock_release_4(vp4); } { __sync_lock_release(vp8); } { __sync_lock_release_8(vp8); } #if defined(__SIZEOF_INT128__) { __sync_lock_release(vp16); } { __sync_lock_release_16(vp16); } #endif { __sync_synchronize(); } { _Bool ret; ret = __atomic_test_and_set(vpB, vB); } { _Bool ret; ret = __atomic_test_and_set(vp1, v1); } { __atomic_clear(vpB, vB); } { __atomic_clear(vp1, v1); } { char ret; ret = __atomic_exchange_n(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_exchange_1(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; __atomic_exchange(vp1, &v1, &ret, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_exchange_n(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_exchange_2(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; __atomic_exchange(vp2, &v2, &ret, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_exchange_n(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_exchange_4(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; __atomic_exchange(vp4, &v4, &ret, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_exchange_n(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_exchange_8(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; __atomic_exchange(vp8, &v8, &ret, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_exchange_n(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_exchange_16(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; __atomic_exchange(vp16, &v16, &ret, __ATOMIC_SEQ_CST); } #endif { struct type * ret; ret = __atomic_exchange_n(vpp, vp, __ATOMIC_SEQ_CST); } { struct type * ret; __atomic_exchange(vpp, &vp, &ret, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_load_n(vp1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_load_1(vp1, __ATOMIC_SEQ_CST); } { char ret; __atomic_load(vp1, &ret, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_load_n(vp2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_load_2(vp2, __ATOMIC_SEQ_CST); } { short ret; __atomic_load(vp2, &ret, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_load_n(vp4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_load_4(vp4, __ATOMIC_SEQ_CST); } { int ret; __atomic_load(vp4, &ret, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_load_n(vp8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_load_8(vp8, __ATOMIC_SEQ_CST); } { long long int ret; __atomic_load(vp8, &ret, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_load_n(vp16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_load_16(vp16, __ATOMIC_SEQ_CST); } { __int128 ret; __atomic_load(vp16, &ret, __ATOMIC_SEQ_CST); } #endif { struct type * ret; ret = __atomic_load_n(vpp, __ATOMIC_SEQ_CST); } { struct type * ret; __atomic_load(vpp, &ret, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange_n(vp1, rp1, v1, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange_1(vp1, rp1, v1, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange(vp1, rp1, &v1, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange_n(vp2, rp2, v2, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange_2(vp2, rp2, v2, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange(vp2, rp2, &v2, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange_n(vp4, rp4, v4, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange_4(vp4, rp4, v4, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange(vp4, rp4, &v4, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange_n(vp8, rp8, v8, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange_8(vp8, rp8, v8, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange(vp8, rp8, &v8, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { _Bool ret; ret = __atomic_compare_exchange_n(vp16, rp16, v16, 0, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange_16(vp16, rp16, v16, 0, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange(vp16, rp16, &v16, 0, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } #endif { _Bool ret; ret = __atomic_compare_exchange_n(vpp, rpp, vp, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { _Bool ret; ret = __atomic_compare_exchange(vpp, rpp, &vp, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); } { __atomic_store_n(vp1, v1, __ATOMIC_SEQ_CST); } { __atomic_store_1(vp1, v1, __ATOMIC_SEQ_CST); } { __atomic_store(vp1, &v1, __ATOMIC_SEQ_CST); } { __atomic_store_n(vp2, v2, __ATOMIC_SEQ_CST); } { __atomic_store_2(vp2, v2, __ATOMIC_SEQ_CST); } { __atomic_store(vp2, &v2, __ATOMIC_SEQ_CST); } { __atomic_store_n(vp4, v4, __ATOMIC_SEQ_CST); } { __atomic_store_4(vp4, v4, __ATOMIC_SEQ_CST); } { __atomic_store(vp4, &v4, __ATOMIC_SEQ_CST); } { __atomic_store_n(vp8, v8, __ATOMIC_SEQ_CST); } { __atomic_store_8(vp8, v8, __ATOMIC_SEQ_CST); } { __atomic_store(vp8, &v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __atomic_store_n(vp16, v16, __ATOMIC_SEQ_CST); } { __atomic_store_16(vp16, v16, __ATOMIC_SEQ_CST); } { __atomic_store(vp16, &v16, __ATOMIC_SEQ_CST); } #endif { __atomic_store_n(vpp, vp, __ATOMIC_SEQ_CST); } { __atomic_store(vpp, &vp, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_add_fetch(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_add_fetch_1(vp1, v1, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_add_fetch(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_add_fetch_2(vp2, v2, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_add_fetch(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_add_fetch_4(vp4, v4, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_add_fetch(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_add_fetch_8(vp8, v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_add_fetch(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_add_fetch_16(vp16, v16, __ATOMIC_SEQ_CST); } #endif { char ret; ret = __atomic_sub_fetch(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_sub_fetch_1(vp1, v1, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_sub_fetch(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_sub_fetch_2(vp2, v2, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_sub_fetch(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_sub_fetch_4(vp4, v4, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_sub_fetch(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_sub_fetch_8(vp8, v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_sub_fetch(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_sub_fetch_16(vp16, v16, __ATOMIC_SEQ_CST); } #endif { char ret; ret = __atomic_and_fetch(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_and_fetch_1(vp1, v1, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_and_fetch(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_and_fetch_2(vp2, v2, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_and_fetch(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_and_fetch_4(vp4, v4, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_and_fetch(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_and_fetch_8(vp8, v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_and_fetch(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_and_fetch_16(vp16, v16, __ATOMIC_SEQ_CST); } #endif { char ret; ret = __atomic_nand_fetch(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_nand_fetch_1(vp1, v1, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_nand_fetch(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_nand_fetch_2(vp2, v2, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_nand_fetch(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_nand_fetch_4(vp4, v4, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_nand_fetch(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_nand_fetch_8(vp8, v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_nand_fetch(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_nand_fetch_16(vp16, v16, __ATOMIC_SEQ_CST); } #endif { char ret; ret = __atomic_xor_fetch(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_xor_fetch_1(vp1, v1, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_xor_fetch(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_xor_fetch_2(vp2, v2, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_xor_fetch(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_xor_fetch_4(vp4, v4, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_xor_fetch(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_xor_fetch_8(vp8, v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_xor_fetch(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_xor_fetch_16(vp16, v16, __ATOMIC_SEQ_CST); } #endif { char ret; ret = __atomic_or_fetch(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_or_fetch_1(vp1, v1, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_or_fetch(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_or_fetch_2(vp2, v2, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_or_fetch(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_or_fetch_4(vp4, v4, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_or_fetch(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_or_fetch_8(vp8, v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_or_fetch(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_or_fetch_16(vp16, v16, __ATOMIC_SEQ_CST); } #endif { char ret; ret = __atomic_fetch_add(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_fetch_add_1(vp1, v1, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_fetch_add(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_fetch_add_2(vp2, v2, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_fetch_add(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_fetch_add_4(vp4, v4, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_fetch_add(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_fetch_add_8(vp8, v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_fetch_add(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_fetch_add_16(vp16, v16, __ATOMIC_SEQ_CST); } #endif { char ret; ret = __atomic_fetch_sub(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_fetch_sub_1(vp1, v1, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_fetch_sub(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_fetch_sub_2(vp2, v2, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_fetch_sub(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_fetch_sub_4(vp4, v4, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_fetch_sub(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_fetch_sub_8(vp8, v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_fetch_sub(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_fetch_sub_16(vp16, v16, __ATOMIC_SEQ_CST); } #endif { char ret; ret = __atomic_fetch_and(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_fetch_and_1(vp1, v1, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_fetch_and(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_fetch_and_2(vp2, v2, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_fetch_and(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_fetch_and_4(vp4, v4, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_fetch_and(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_fetch_and_8(vp8, v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_fetch_and(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_fetch_and_16(vp16, v16, __ATOMIC_SEQ_CST); } #endif { char ret; ret = __atomic_fetch_nand(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_fetch_nand_1(vp1, v1, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_fetch_nand(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_fetch_nand_2(vp2, v2, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_fetch_nand(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_fetch_nand_4(vp4, v4, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_fetch_nand(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_fetch_nand_8(vp8, v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_fetch_nand(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_fetch_nand_16(vp16, v16, __ATOMIC_SEQ_CST); } #endif { char ret; ret = __atomic_fetch_xor(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_fetch_xor_1(vp1, v1, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_fetch_xor(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_fetch_xor_2(vp2, v2, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_fetch_xor(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_fetch_xor_4(vp4, v4, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_fetch_xor(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_fetch_xor_8(vp8, v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_fetch_xor(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_fetch_xor_16(vp16, v16, __ATOMIC_SEQ_CST); } #endif { char ret; ret = __atomic_fetch_or(vp1, v1, __ATOMIC_SEQ_CST); } { char ret; ret = __atomic_fetch_or_1(vp1, v1, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_fetch_or(vp2, v2, __ATOMIC_SEQ_CST); } { short ret; ret = __atomic_fetch_or_2(vp2, v2, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_fetch_or(vp4, v4, __ATOMIC_SEQ_CST); } { int ret; ret = __atomic_fetch_or_4(vp4, v4, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_fetch_or(vp8, v8, __ATOMIC_SEQ_CST); } { long long int ret; ret = __atomic_fetch_or_8(vp8, v8, __ATOMIC_SEQ_CST); } #if defined(__SIZEOF_INT128__) { __int128 ret; ret = __atomic_fetch_or(vp16, v16, __ATOMIC_SEQ_CST); } { __int128 ret; ret = __atomic_fetch_or_16(vp16, v16, __ATOMIC_SEQ_CST); } #endif { _Bool ret; ret = __atomic_always_lock_free(sizeof(int), vp4); } { _Bool ret; ret = __atomic_is_lock_free(sizeof(int), vp4); } { __atomic_thread_fence(__ATOMIC_SEQ_CST); } { __atomic_signal_fence(__ATOMIC_SEQ_CST); } } int main() { return 0; }