Software Optimization Guide for AMD64 Processors

25112 Rev. 3.06 September 2005

4.118-Bit Sign-Extended Displacements

Optimization

Use 8-bit sign-extended displacements for conditional branches.

Application

This optimization applies to:

32-bit software

64-bit software

Rationale

Using short, 8-bit sign-extended displacements for conditional branches improves code density with no negative affects on the processor.

88

Instruction-Decoding Optimizations

Chapter 4

Page 104
Image 104
AMD 250 manual 11 8-Bit Sign-Extended Displacements