__sync_lock_test_and_set on ARM

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

Andrew Haley wrote:
> pre-ARM v6 the builtins can't be done in userland

__sync_lock_test_and_set can be doing in userland; it is a single SWP instruction.

I am only asking that this one builtin be implemented.


More information about the Gcc-help mailing list