Changes in uspace/lib/c/arch/ia32/include/atomic.h [63f8966:1e891d0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ia32/include/atomic.h
r63f8966 r1e891d0 43 43 { 44 44 asm volatile ( 45 "lock incl % [count]\n"46 : [count]"+m" (val->count)45 "lock incl %0\n" 46 : "+m" (val->count) 47 47 ); 48 48 } … … 51 51 { 52 52 asm volatile ( 53 "lock decl % [count]\n"54 : [count]"+m" (val->count)53 "lock decl %0\n" 54 : "+m" (val->count) 55 55 ); 56 56 } … … 61 61 62 62 asm volatile ( 63 "lock xaddl % [r], %[count]\n"64 : [count]"+m" (val->count),65 [r]"+r" (r)63 "lock xaddl %1, %0\n" 64 : "+m" (val->count), 65 "+r" (r) 66 66 ); 67 67 … … 74 74 75 75 asm volatile ( 76 "lock xaddl % [r], %[count]\n"77 : [count]"+m" (val->count),78 [r]"+r" (r)76 "lock xaddl %1, %0\n" 77 : "+m" (val->count), 78 "+r" (r) 79 79 ); 80 80
Note:
See TracChangeset
for help on using the changeset viewer.