__sync_lock_test_and_set on ARM

Andrew Haley aph-gcc@littlepinkcloud.COM
Thu Sep 13 13:34:00 GMT 2007


David Daney writes:
 > 
 > My personal preference would be to use the GCC builtins when
 > possible.  If they are not generating proper code for your target,
 > file a bug report so they can be fixed.

Mine too, but pre-ARM v6 the builtins can't be done in userland, so
what should gcc generate?  Syscalls?

Andrew.



More information about the Gcc-help mailing list