
128
Dependencies
AMD Athlon™ Processor x86 Code Optimization
22007E/0—November 1999
Dependencies
Spread out true dependencies to increase the opportunities for
p a r a l l e l e x e c u t i o n . A n t i -d e p e n d e n c i e s a n d o u t p u t
dependencies do not impact performance.
Register Operands
Maintain frequently used values in registers rather than in
memory. This technique avoids the comparatively long latencies
for accessing memory.
Stack Allocation
When allocating space for local variables and/or outgoing
parameters within a procedure, adjust the stack pointer and
use moves rather than pushes. This method of allocation allows
random access to the outgoing parameters so that they can be
set up whe n they a re calculated instea d of being held
somewhere else until the procedure call. In addition, this
method reduces ESP dependencies and uses fewer execution
resources.
Содержание Athlon Processor x86
Страница 1: ...AMD Athlon Processor x86 Code Optimization Guide TM...
Страница 12: ...xii List of Figures AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 16: ...xvi Revision History AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 60: ...44 Code Padding Using Neutral Code Fillers AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 92: ...76 Push Memory Data Carefully AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 122: ...106 Take Advantage of the FSINCOS Instruction AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 156: ...140 AMD Athlon Processor Microarchitecture AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 176: ...160 Write Combining Operations AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 202: ...186 Page Attribute Table PAT AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 252: ...236 VectorPath Instructions AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...
Страница 256: ...240 Index AMD Athlon Processor x86 Code Optimization 22007E 0 November 1999...