Cycle Timings and Interlock Behavior
ARM DDI 0363G
Copyright © 2006-2011 ARM Limited. All rights reserved.
C-7
ID073015
Non-Confidential
C.3
Data processing instructions
This section describes the cycle timing behavior for the
ADC
,
ADD
,
ADDW
,
AND
,
ASR
,
BIC
,
CLZ
,
CMN
,
CMP
,
EOR
,
LSL
,
LSR
,
MOV
,
MOVT
,
MOVW
,
MVN
,
ORN
,
ORR
,
ROR
,
RRX
,
RSB
,
RSC
,
SBC
,
SUB
,
SUBW
,
TEQ
, and
TST
instructions.
This section describes:
•
Cycle counts if destination is not PC
•
Cycle counts if destination is the PC
•
.
C.3.1
Cycle counts if destination is not PC
shows the cycle timing behavior for data processing instructions if their destination
is not the PC. You can substitute
ADD
with any of the data processing instructions identified in
the opening paragraph of this section.
C.3.2
Cycle counts if destination is the PC
shows the cycle timing behavior for data processing instructions if their destination
is the PC. You can substitute
ADD
with any data processing instruction except for a
CLZ
. A
CLZ
with the PC as the destination is an Unpredictable instruction.
For condition code failing cycle counts, the cycles for the non-PC destination variants must be
used.
Table C-3 Data Processing Instruction cycle timing behavior if destination is not PC
Example instruction
Cycles
Early
Reg
Late
Reg
Result
latency
Comments
ADD <Rd>, <Rn>, #<immed>
1
-
-
1
Normal cases.
ADD <Rd>, <Rn>, <Rm>
1
-
-
1
ADD <Rd>, <Rn>, <Rm>, LSL #<immed>
1
<Rm>
-
1
Requires a shifted source register.
ADD <Rd>, <Rn>, <Rm>, LSL <Rs
>
1
<Rm>
,
<Rs>
-
1
Requires a register controlled
shifted source register.
MOV <Rd>, <Rm>
1
-
<Rm>
1
Simple
MOV
case. Must not set the
flags or require a shifted source
register.
Table C-4 Data Processing instruction cycle timing behavior if destination is the PC
Example instruction
Cycles
Early
Reg
Late
Reg
Result
latency
Comments
ADD pc, <Rn>, #<immed>
9
-
-
-
Normal cases to PC
ADD pc, <Rn>, <Rm>
9
-
-
-
ADD pc, <Rn>, <Rm>, LSL #<immed>
9
<Rm>
-
-
Requires a shifted source register
ADD pc, <Rn>, <Rm>, LSL <Rs
>
9
<Rm>
,
<Rs>
-
-
Requires a register controlled shifted
source register