Searched refs:ATOMIC_ASM (Results 1 – 1 of 1) sorted by relevance
| /dragonfly/sys/cpu/x86_64/include/ |
| HD | atomic.h | 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) [all …]
|