libstdc++-v3: arm atomicity patch for Thumb
Richard Earnshaw
rearnsha@arm.com
Wed Dec 6 05:39:00 GMT 2000
Looking back at my mail list for yesterday, I notice that I never
forwarded this one to the list:
this patch adds atomicity support for compiling Thumb code.
Unfortunately, thumb doesn't have an atomic swap type instruction: we
solve this by switching to ARM mode, doing the swap and then switching
back again. It's a bit unwieldy, but faster than other solutions. It
might be easier if we could move these functions out of band (non-inline)
when compiling thumb code.
2000-12-05 Richard Earnshaw <rearnsha@arm.com>
* config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
code.
More information about the Gcc-patches
mailing list