Lines Matching refs:ATOMIC_OPS
26 #define ATOMIC_OPS(pfx, type) \ macro
37 ATOMIC_OPS(atomic, int)
41 ATOMIC_OPS(atomic64, s64)
138 #undef ATOMIC_OPS
139 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ macro
144 ATOMIC_OPS(atomic, add, int, +=, addu, ll, sc)
145 ATOMIC_OPS(atomic, sub, int, -=, subu, ll, sc)
153 ATOMIC_OPS(atomic64, add, s64, +=, daddu, lld, scd)
154 ATOMIC_OPS(atomic64, sub, s64, -=, dsubu, lld, scd)
161 #undef ATOMIC_OPS
162 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ macro
166 ATOMIC_OPS(atomic, and, int, &=, and, ll, sc)
167 ATOMIC_OPS(atomic, or, int, |=, or, ll, sc)
168 ATOMIC_OPS(atomic, xor, int, ^=, xor, ll, sc)
175 ATOMIC_OPS(atomic64, and, s64, &=, and, lld, scd)
176 ATOMIC_OPS(atomic64, or, s64, |=, or, lld, scd)
177 ATOMIC_OPS(atomic64, xor, s64, ^=, xor, lld, scd)
183 #undef ATOMIC_OPS