Lines Matching refs:ATOMIC_ASM
113 #define ATOMIC_ASM(NAME, TYPE, OP, CONS, V) \ macro
355 ATOMIC_ASM(set, char, "orb %b1,%0", "iq", v);
356 ATOMIC_ASM(clear, char, "andb %b1,%0", "iq", ~v);
357 ATOMIC_ASM(add, char, "addb %b1,%0", "iq", v);
358 ATOMIC_ASM(subtract, char, "subb %b1,%0", "iq", v);
360 ATOMIC_ASM(set, short, "orw %w1,%0", "ir", v);
361 ATOMIC_ASM(clear, short, "andw %w1,%0", "ir", ~v);
362 ATOMIC_ASM(add, short, "addw %w1,%0", "ir", v);
363 ATOMIC_ASM(subtract, short, "subw %w1,%0", "ir", v);
365 ATOMIC_ASM(set, int, "orl %1,%0", "ir", v);
366 ATOMIC_ASM(clear, int, "andl %1,%0", "ir", ~v);
367 ATOMIC_ASM(add, int, "addl %1,%0", "ir", v);
368 ATOMIC_ASM(subtract, int, "subl %1,%0", "ir", v);
370 ATOMIC_ASM(set, long, "orq %1,%0", "er", v);
371 ATOMIC_ASM(clear, long, "andq %1,%0", "er", ~v);
372 ATOMIC_ASM(add, long, "addq %1,%0", "er", v);
373 ATOMIC_ASM(subtract, long, "subq %1,%0", "er", v);
384 #undef ATOMIC_ASM