Searched refs:ATOMIC_ASM (Results 1 - 4 of 4) sorted by relevance

/freebsd-11.0-release/sys/i386/i386/
H A Datomic.c41 #undef ATOMIC_ASM macro
/freebsd-11.0-release/sys/amd64/amd64/
H A Datomic.c41 #undef ATOMIC_ASM macro
/freebsd-11.0-release/sys/amd64/include/
H A Datomic.h96 #define ATOMIC_ASM(NAME, TYPE, OP, CONS, V) \ macro
135 #define ATOMIC_ASM(NAME, TYPE, OP, CONS, V) \ macro
410 ATOMIC_ASM(set, char, "orb %b1,%0", "iq", v);
411 ATOMIC_ASM(clear, char, "andb %b1,%0", "iq", ~v);
412 ATOMIC_ASM(add, char, "addb %b1,%0", "iq", v);
413 ATOMIC_ASM(subtract, char, "subb %b1,%0", "iq", v);
415 ATOMIC_ASM(set, short, "orw %w1,%0", "ir", v);
416 ATOMIC_ASM(clear, short, "andw %w1,%0", "ir", ~v);
417 ATOMIC_ASM(add, short, "addw %w1,%0", "ir", v);
418 ATOMIC_ASM(subtrac
439 #undef ATOMIC_ASM macro
[all...]
/freebsd-11.0-release/sys/i386/include/
H A Datomic.h104 #define ATOMIC_ASM(NAME, TYPE, OP, CONS, V) \ macro
144 #define ATOMIC_ASM(NAME, TYPE, OP, CONS, V) \ macro
565 ATOMIC_ASM(set, char, "orb %b1,%0", "iq", v);
566 ATOMIC_ASM(clear, char, "andb %b1,%0", "iq", ~v);
567 ATOMIC_ASM(add, char, "addb %b1,%0", "iq", v);
568 ATOMIC_ASM(subtract, char, "subb %b1,%0", "iq", v);
570 ATOMIC_ASM(set, short, "orw %w1,%0", "ir", v);
571 ATOMIC_ASM(clear, short, "andw %w1,%0", "ir", ~v);
572 ATOMIC_ASM(add, short, "addw %w1,%0", "ir", v);
573 ATOMIC_ASM(subtrac
594 #undef ATOMIC_ASM macro
[all...]

Completed in 61 milliseconds