D | atomic.h | 56 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 74 "1: " #ll " %0, %1 # " #pfx "_" #op " \n" \ 83 #define ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ argument 104 "1: " #ll " %1, %2 # " #pfx "_" #op "_return\n" \ 117 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument 137 "1: " #ll " %1, %2 # " #pfx "_fetch_" #op "\n" \ 151 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ argument 152 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ 153 ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \ 154 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) [all …]
|