
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 |
|
|
| |
|
|
|
|
|
|
| |
SBB mreg16/32/64, imm8 (sign extended) | 83h |
| DirectPath | 1 |
| ||
|
|
|
|
|
|
| |
SBB mem16/32/64, imm8 (sign extended) | 83h |
| DirectPath | 4 |
| ||
|
|
|
|
|
|
| |
SCASB/SCAS mem8 | AEh |
|
| VectorPath | 4 | 6 | |
|
|
|
|
|
|
| |
SCASD/SCAS mem32 | AFh |
|
| VectorPath | 4 | 6 | |
|
|
|
|
|
|
| |
SCASQ/SCAS mem64 | AFh |
|
| VectorPath | 4 | 6 | |
|
|
|
|
|
|
| |
SCASW/SCAS mem16 | AFh |
|
| VectorPath | 4 | 6 | |
|
|
|
|
|
|
| |
SETA/SETNBE mem8 | 0Fh | 97h | DirectPath | 3 |
| ||
|
|
|
|
|
|
| |
SETA/SETNBE mreg8 | 0Fh | 97h | DirectPath | 1 |
| ||
|
|
|
|
|
|
| |
SETAE/SETNB/SETNC mem8 | 0Fh | 93h | DirectPath | 3 |
| ||
|
|
|
|
|
|
| |
SETAE/SETNB/SETNC mreg8 | 0Fh | 93h | DirectPath | 1 |
| ||
|
|
|
|
|
|
| |
SETB/SETC/SETNAE mem8 | 0Fh | 92h | DirectPath | 3 |
| ||
|
|
|
|
|
|
| |
SETB/SETC/SETNAE mreg8 | 0Fh | 92h | DirectPath | 1 |
| ||
|
|
|
|
|
|
| |
SETBE/SETNA mem8 | 0Fh | 96h | DirectPath | 3 |
| ||
|
|
|
|
|
|
| |
SETBE/SETNA mreg8 | 0Fh | 96h | DirectPath | 1 |
| ||
|
|
|
|
|
|
| |
SETE/SETZ mem8 | 0Fh | 94h | DirectPath | 3 |
| ||
|
|
|
|
|
|
| |
SETE/SETZ mreg8 | 0Fh | 94h | DirectPath | 1 |
| ||
|
|
|
|
|
|
| |
SETG/SETNLE mem8 | 0Fh | 9Fh | DirectPath | 3 |
| ||
|
|
|
|
|
|
| |
SETG/SETNLE mreg8 | 0Fh | 9Fh | DirectPath | 1 |
| ||
|
|
|
|
|
|
| |
SETGE/SETNL mem8 | 0Fh | 9Dh | DirectPath | 3 |
| ||
|
|
|
|
|
|
| |
SETGE/SETNL mreg8 | 0Fh | 9Dh | DirectPath | 1 |
| ||
|
|
|
|
|
|
| |
SETL/SETNGE mem8 | 0Fh | 9Ch | DirectPath | 3 |
| ||
|
|
|
|
|
|
| |
SETL/SETNGE mreg8 | 0Fh | 9Ch | DirectPath | 1 |
| ||
|
|
|
|
|
|
| |
SETLE/SETNG mem8 | 0Fh | 9Eh | DirectPath | 3 |
| ||
|
|
|
|
|
|
| |
SETLE/SETNG mreg8 | 0Fh | 9Eh | DirectPath | 1 |
| ||
|
|
|
|
|
|
| |
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
296 | Instruction Latencies | Appendix C |