This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: __sync_lock_test_and_set on ARM
- From: "Phil Endecott" <spam_from_gcc_help_2 at chezphil dot org>
- To: "Andrew Haley" <aph-gcc at littlepinkcloud dot COM>
- Cc: "Phil Endecott" <spam_from_gcc_help_2 at chezphil dot org>, <gcc-help at gcc dot gnu dot org>, "David Daney" <ddaney at avtrex dot com>
- Date: Thu, 13 Sep 2007 14:34:47 +0100
- Subject: Re: __sync_lock_test_and_set on ARM
- References: <18153.14521.717519.504892@zebedee.pink>
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.