Lines Matching refs:atomic_op
80 .macro atomic_op, name, bitwidth, body macro
175 atomic_op _cmpxchg, 32, "seq r26, r22, r2; { bbns r26, 3f; move r24, r3 }"
176 atomic_op _xchg, 32, "move r24, r2"
177 atomic_op _xchg_add, 32, "add r24, r22, r2"
178 atomic_op _xchg_add_unless, 32, \
180 atomic_op _or, 32, "or r24, r22, r2"
181 atomic_op _and, 32, "and r24, r22, r2"
182 atomic_op _andn, 32, "nor r2, r2, zero; and r24, r22, r2"
183 atomic_op _xor, 32, "xor r24, r22, r2"
185 atomic_op 64_cmpxchg, 64, "{ seq r26, r22, r2; seq r27, r23, r3 }; \
187 atomic_op 64_xchg, 64, "{ move r24, r2; move r25, r3 }"
188 atomic_op 64_xchg_add, 64, "{ add r24, r22, r2; add r25, r23, r3 }; \
190 atomic_op 64_xchg_add_unless, 64, \
195 atomic_op 64_or, 64, "{ or r24, r22, r2; or r25, r23, r3 }"
196 atomic_op 64_and, 64, "{ and r24, r22, r2; and r25, r23, r3 }"
197 atomic_op 64_xor, 64, "{ xor r24, r22, r2; xor r25, r23, r3 }"