Lines Matching refs:FETCH_FAMILY_TEST
67 #define FETCH_FAMILY_TEST(bit, op, c_op, val) \ macro
128 FETCH_FAMILY_TEST(, fetch_add, +=, onestwos); in test_atomic()
129 FETCH_FAMILY_TEST(, fetch_add, +=, -one); in test_atomic()
130 FETCH_FAMILY_TEST(, fetch_sub, -=, onestwos); in test_atomic()
131 FETCH_FAMILY_TEST(, fetch_sub, -=, -one); in test_atomic()
133 FETCH_FAMILY_TEST(, fetch_or, |=, v1); in test_atomic()
134 FETCH_FAMILY_TEST(, fetch_and, &=, v1); in test_atomic()
135 FETCH_FAMILY_TEST(, fetch_andnot, &= ~, v1); in test_atomic()
136 FETCH_FAMILY_TEST(, fetch_xor, ^=, v1); in test_atomic()
180 FETCH_FAMILY_TEST(64, fetch_add, +=, onestwos); in test_atomic64()
181 FETCH_FAMILY_TEST(64, fetch_add, +=, -one); in test_atomic64()
182 FETCH_FAMILY_TEST(64, fetch_sub, -=, onestwos); in test_atomic64()
183 FETCH_FAMILY_TEST(64, fetch_sub, -=, -one); in test_atomic64()
185 FETCH_FAMILY_TEST(64, fetch_or, |=, v1); in test_atomic64()
186 FETCH_FAMILY_TEST(64, fetch_and, &=, v1); in test_atomic64()
187 FETCH_FAMILY_TEST(64, fetch_andnot, &= ~, v1); in test_atomic64()
188 FETCH_FAMILY_TEST(64, fetch_xor, ^=, v1); in test_atomic64()