mirror of
https://github.com/boostorg/atomic.git
synced 2026-02-02 20:32:09 +00:00
Use ldrexb/w and strexb/w on ARMv7 and later to implement byte/word-wide atomic ops. On the older ARM versions we still have to use 32-bit widening implementation. Also allowed immediate constants in some of the operations to improve generated code. Common ARM code extracted to a separate header to reuse with extra ops.