
9 Apr
2008
9 Apr
'08
11:33 p.m.
Peter Dimov wrote:
Rene Rivera:
Peter Dimov wrote:
What happens when you change...
bool try_lock() { int r;
__asm__ __volatile__( "swp %0, %1, [%2]": "=r"( r ): // outputs ... this line to
"=&r"( r ): // outputs Bingo!
Thanks, fixed in SVN. Apparently, the swp instruction doesn't like being given the same register twice. Does spinlock_try_test.cpp pass as well?
I'll find out in a few hours... Going to dinner now :-) -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org (msn) - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail