__sync_lock_test_and_set on ARM

Phil Endecott spam_from_gcc_help_2@chezphil.org
Thu Sep 13 13:19:00 GMT 2007


Andrew Haley wrote:
> this stuff really should be done by the compiler. 

Yes.  I've filed a bug asking for a __sync_lock_test_and_set builtin:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33413

In the meantime I'm happy with the asm that I posted at the start of 
this thread.


Regards,

Phil.






More information about the Gcc-help mailing list