16.14. Synchronization instructions

This section describes the cycle timing behavior for the SWP, SWPB, CLREX and the load and store exclusive instructions.

In all cases the base register, Rn, is an Early Reg, and requires an extra cycle of result latency to provide its value. Table 16.21 shows the synchronization instructions cycle timing behavior.

Table 16.21. Synchronization instructions cycle timing behavior

InstructionCyclesMemory cyclesResult latency
SWP Rd, <Rm>, [Rn]223
SWPB Rd, <Rm>, [Rn]223
LDREX <Rd>, [Rn]113
STREX, Rd>, <Rm>, [Rn]113
LDREXB <Rd>, [Rn][1]113
STREXB, Rd>, <Rm>, [Rn][1]113
LDREXH <Rd>, [Rn][1]113
STREXH, Rd>, <Rm>, [Rn][1]113
LDREXD <Rd>, [Rn][1]113
STREXD, Rd>, <Rm>, [Rn][1]113
CLREX[1]11X

[1] The LDREXB, LDREXH, LDREXD, STREXB, STREXH, STREXD, and CLREX instructions are only available from the rev1 (r1p0) release of the ARM1136JF-S processor.

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DDI 0211H
Non-Confidential