The compiler never directly generates SWP, so this must be an in-line
assembler statement. Since there's no SWP instruction in Thumb, the
code that generates this will need reworking to push the required
instructions out-of-line.