fix thinko
From-SVN: r74889
This commit is contained in:
parent
3914c31fc6
commit
778e99e55f
@ -47,7 +47,7 @@ __exchange_and_add(volatile _Atomic_word* __mem, int __val)
|
||||
"/* Inline exchange & add */\n"
|
||||
"0:\t"
|
||||
"lwarx %0,0,%3 \n\t"
|
||||
"add%I3 %1,%0,%4 \n\t"
|
||||
"add%I4 %1,%0,%4 \n\t"
|
||||
_STWCX " %1,0,%3 \n\t"
|
||||
"bne- 0b \n\t"
|
||||
"/* End exchange & add */"
|
||||
@ -66,7 +66,7 @@ __atomic_add(volatile _Atomic_word* __mem, int __val)
|
||||
"/* Inline atomic add */\n"
|
||||
"0:\t"
|
||||
"lwarx %0,0,%2 \n\t"
|
||||
"add%I2 %0,%0,%3 \n\t"
|
||||
"add%I3 %0,%0,%3 \n\t"
|
||||
_STWCX " %0,0,%2 \n\t"
|
||||
"bne- 0b \n\t"
|
||||
"/* End atomic add */"
|
||||
|
Loading…
x
Reference in New Issue
Block a user