16.14 Synchronization Instructions; Table 16-21 Synchronization Instructions Cycle Timing Behavior - ARM ARM1176JZF-S Technical Reference Manual

Table of Contents

Advertisement

16.14 Synchronization instructions

ARM DDI 0301H
ID012310
This section describes the cycle timing behavior for the SWP, SWPB, LDREX, and STREX
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 lists the synchronization instructions cycle timing behavior.
Instruction
SWP Rd, <Rm>, [Rn]
SWPB Rd, <Rm>, [Rn]
LDREX <Rd>, [Rn]
STREX, <Rd>, <Rm>, [Rn]
LDREX{B,H,D} <Rd>, [Rn]
STREX{B,H,D} <Rd>, <Rm>, [Rn]
CLREX
CLREX instructions have cycle timing behavior as for load instructions. Because they have no
destination register, the result latency is not-applicable for such instructions.
Copyright © 2004-2009 ARM Limited. All rights reserved.
Non-Confidential, Unrestricted Access

Table 16-21 Synchronization Instructions cycle timing behavior

Cycle
s
2
2
1
1
1
1
1
Cycle Timings and Interlock Behavior
Memory Cycles
Result latency
2
3
2
3
1
3
1
3
1
3
1
3
1
X
16-24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents