Lines Matching refs:ATOMIC_ASM
87 #define ATOMIC_ASM(NAME, TYPE, OP, CONS, V) \ macro
118 ATOMIC_ASM(set, char, "orb %b1,%0", "iq", v)
119 ATOMIC_ASM(clear, char, "andb %b1,%0", "iq", ~v)
120 ATOMIC_ASM(add, char, "addb %b1,%0", "iq", v)
121 ATOMIC_ASM(subtract, char, "subb %b1,%0", "iq", v)
123 ATOMIC_ASM(set, short, "orw %w1,%0", "iq", v)
124 ATOMIC_ASM(clear, short, "andw %w1,%0", "iq", ~v)
125 ATOMIC_ASM(add, short, "addw %w1,%0", "iq", v)
126 ATOMIC_ASM(subtract, short, "subw %w1,%0", "iq", v)
128 ATOMIC_ASM(set, int, "orl %1,%0", "iq", v)
129 ATOMIC_ASM(clear, int, "andl %1,%0", "iq", ~v)
130 ATOMIC_ASM(add, int, "addl %1,%0", "iq", v)
131 ATOMIC_ASM(subtract, int, "subl %1,%0", "iq", v)
133 ATOMIC_ASM(set, long, "orq %1,%0", "r", v)
134 ATOMIC_ASM(clear, long, "andq %1,%0", "r", ~v)
135 ATOMIC_ASM(add, long, "addq %1,%0", "r", v)
136 ATOMIC_ASM(subtract, long, "subq %1,%0", "r", v)
719 #undef ATOMIC_ASM