
Software Optimization Guide for AMD64 Processors | 25112 Rev. 3.06 September 2005 |
Table 13. Integer Instructions (Continued)
|
| Encoding | Decode |
|
| ||
Syntax |
|
|
| Latency | Note | ||
First | Second | ModRM | |||||
type | |||||||
|
|
| |||||
| byte | byte | byte |
|
|
| |
|
|
|
|
|
|
| |
PUSH SP/ESP/RSP/(R12) | 54h |
|
| DirectPath | 3 | 2 | |
|
|
|
|
|
|
| |
PUSH BP/EBP/RBP/(R13) | 55h |
|
| DirectPath | 3 | 2 | |
|
|
|
|
|
|
| |
PUSH SI/ESI/RSI/(R14) | 56h |
|
| DirectPath | 3 | 2 | |
|
|
|
|
|
|
| |
PUSH DI/EDI/RDI/(R15) | 57h |
|
| DirectPath | 3 | 2 | |
|
|
|
|
|
|
| |
PUSH imm8 | 6Ah |
|
| DirectPath | 3 | 2 | |
|
|
|
|
|
|
| |
PUSH imm16/32 | 68h |
|
| DirectPath | 3 | 2 | |
|
|
|
|
|
|
| |
PUSH mreg16/32/64 | FFh |
| DirectPath | 3 |
| ||
|
|
|
|
|
|
| |
PUSH mem16/32/64 | FFh |
| Double | 3 | 2 | ||
|
|
|
|
|
|
| |
PUSHA/PUSHAD | 60h |
|
| VectorPath | 6 |
| |
|
|
|
|
|
|
| |
PUSHF/PUSHFD/PUSHFQ | 9Ch |
|
| VectorPath | 4 |
| |
|
|
|
|
|
|
| |
RCL mreg8, imm8 | C0h |
| VectorPath | 7 |
| ||
|
|
|
|
|
|
| |
RCL mem8, imm8 | C0h |
| VectorPath | 8 |
| ||
|
|
|
|
|
|
| |
RCL mreg16/32/64, imm8 | C1h |
| VectorPath | 7 |
| ||
|
|
|
|
|
|
| |
RCL mem16/32/64, imm8 | C1h |
| VectorPath | 8 |
| ||
|
|
|
|
|
|
| |
RCL mreg8, 1 | D0h |
| DirectPath | 1 |
| ||
|
|
|
|
|
|
| |
RCL mem8, 1 | D0h |
| DirectPath | 4 |
| ||
|
|
|
|
|
|
| |
RCL mreg16/32/64, 1 | D1h |
| DirectPath | 1 |
| ||
|
|
|
|
|
|
| |
RCL mem16/32/64, 1 | D1h |
| DirectPath | 4 |
| ||
|
|
|
|
|
|
| |
RCL mreg8, CL | D2h |
| VectorPath | 6 |
| ||
|
|
|
|
|
|
| |
RCL mem8, CL | D2h |
| VectorPath | 7 |
| ||
|
|
|
|
|
|
| |
RCL mreg16/32/64, CL | D3h |
| VectorPath | 6 |
| ||
|
|
|
|
|
|
| |
RCL mem16/32/64, CL | D3h |
| VectorPath | 7 |
| ||
|
|
|
|
|
|
| |
RCR mreg8, imm8 | C0h |
| VectorPath | 5 |
| ||
|
|
|
|
|
|
| |
RCR mem8, imm8 | C0h |
| VectorPath | 6 |
| ||
|
|
|
|
|
|
| |
Notes:
1. Static timing assumes a predicted branch.
2. Store operation also updates
3. The clock count, regardless of the number of shifts or rotates, as determined by CL or imm8.
4. LEA instructions have a latency of 1 when there are two source operands (as in the case of the base + index form LEA EAX, [EDX+EDI]). Forms with a scale or more than two source operands will have a latency of 2 (LEA EAX, [EBX+EBX*8]).
5. These instructions have an effective latency as shown. They map to internal NOPs that can be issued at a rate of three per cycle but do not occupy execution resources.
6. The latency of repeated string instructions can be found in “Latency of Repeated String Instructions” on page 167.
7. The first latency value is for
8. This opcode is used as a REX prefix in
292 | Instruction Latencies | Appendix C |