25112 Rev. 3.06 September 2005

Software Optimization Guide for AMD64 Processors

Number of Bytes

Latency

Instruction

 

 

 

8

4

cmpb %al,0x68e35(%r10,%r13)

Example

These two instructions can be replaced by one instruction.

movl 0x4c65a,%r11

movl (%r11,%r8,8),%r11

becomes:

movl 0x4c65a(,%r8,8),%r11

Chapter 4

Instruction-Decoding Optimizations

79

Page 95
Image 95
AMD 250 manual Cmpb %al,0x68e35%r10,%r13