forked from boostorg/smart_ptr
Mark eax as earlyclobber
[SVN r27937]
This commit is contained in:
@ -71,7 +71,7 @@ inline long atomic_conditional_increment( long * pw )
|
||||
"cmpxchgl %%ebx, %0\n\t"
|
||||
"jne 0b\n\t"
|
||||
"1:":
|
||||
"=m"( *pw ), "=eax"( r ): // outputs (%0, %1)
|
||||
"=m"( *pw ), "=&eax"( r ): // outputs (%0, %1)
|
||||
"0"( *pw ): // input (%0)
|
||||
"ebx", "memory", "cc" // clobbers
|
||||
);
|
||||
|
Reference in New Issue
Block a user