http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46294
--- Comment #6 from Dan Weber <dan at blinkmind dot com> 2010-11-03 18:19:04 UTC --- Created attachment 22264 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22264 TBB Spinlock assembler (includes compare and swap and fetch and store ops inline)