This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __sync_lock_test_and_set on ARM


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.


Phil.






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]