Diff for /src/sys/i386/include/Attic/atomic.h between versions 1.5 and 1.6

version 1.5, 2004/02/13 18:44:42 version 1.6, 2004/02/13 19:37:16
Line 107  atomic_##NAME##_##TYPE##_nonlocked(volat Line 107  atomic_##NAME##_##TYPE##_nonlocked(volat
 #endif /* KLD_MODULE */  #endif /* KLD_MODULE */
   
 /* egcs 1.1.2+ version */  /* egcs 1.1.2+ version */
ATOMIC_ASM(set,      char,  "orb %b2,%0",   v)ATOMIC_ASM(set,      char,  "orb %b1,%0",   v)
ATOMIC_ASM(clear,    char,  "andb %b2,%0", ~v)ATOMIC_ASM(clear,    char,  "andb %b1,%0", ~v)
ATOMIC_ASM(add,      char,  "addb %b2,%0",  v)ATOMIC_ASM(add,      char,  "addb %b1,%0",  v)
ATOMIC_ASM(subtract, char,  "subb %b2,%0",  v)ATOMIC_ASM(subtract, char,  "subb %b1,%0",  v)
   
ATOMIC_ASM(set,      short, "orw %w2,%0",   v)ATOMIC_ASM(set,      short, "orw %w1,%0",   v)
ATOMIC_ASM(clear,    short, "andw %w2,%0", ~v)ATOMIC_ASM(clear,    short, "andw %w1,%0", ~v)
ATOMIC_ASM(add,      short, "addw %w2,%0",  v)ATOMIC_ASM(add,      short, "addw %w1,%0",  v)
ATOMIC_ASM(subtract, short, "subw %w2,%0",  v)ATOMIC_ASM(subtract, short, "subw %w1,%0",  v)
   
ATOMIC_ASM(set,      int,   "orl %2,%0",   v)ATOMIC_ASM(set,      int,   "orl %1,%0",   v)
ATOMIC_ASM(clear,    int,   "andl %2,%0", ~v)ATOMIC_ASM(clear,    int,   "andl %1,%0", ~v)
ATOMIC_ASM(add,      int,   "addl %2,%0",  v)ATOMIC_ASM(add,      int,   "addl %1,%0",  v)
ATOMIC_ASM(subtract, int,   "subl %2,%0",  v)ATOMIC_ASM(subtract, int,   "subl %1,%0",  v)
   
ATOMIC_ASM(set,      long,  "orl %2,%0",   v)ATOMIC_ASM(set,      long,  "orl %1,%0",   v)
ATOMIC_ASM(clear,    long,  "andl %2,%0", ~v)ATOMIC_ASM(clear,    long,  "andl %1,%0", ~v)
ATOMIC_ASM(add,      long,  "addl %2,%0",  v)ATOMIC_ASM(add,      long,  "addl %1,%0",  v)
ATOMIC_ASM(subtract, long,  "subl %2,%0",  v)ATOMIC_ASM(subtract, long,  "subl %1,%0",  v)
   
 #endif /* ! _MACHINE_ATOMIC_H_ */  #endif /* ! _MACHINE_ATOMIC_H_ */

Removed from v.1.5  
changed lines
  Added in v.1.6