AMD Athlon™ Processor Microarchitecture
131
22007E/0—November 1999
AMD Athlon™ Processor x86 Code Optimization
Figure 1. AMD Athlon™
Processor Block Diagram
Instruction Cache
The out-of-order execute engine of the AMD Athlon processor
contains a very large 64-Kbyte L1 instruction cache. The L1
ins t ru c t io n c a ch e i s o rg an iz e d a s a 6 4-K by t e, t wo-way,
set-associative array. Each line in the instruction array is 64
bytes long. Functions associated with the L1 instruction cache
are instruction loads, instruction prefetching, instruction
predecoding, and branch prediction. Requests that miss in the
L1 instruction cache are fetched from the backside L2 cache or,
subsequently, from the local memory using the bus interface
unit (BIU).
The instruction cache generates fetches on the naturally
aligned 64 bytes containing the instructions and the next
sequential line of 64 bytes (a prefetch). The principal of
program spatial locality makes data prefetching very effective
and avoids or reduces execution stalls due to the amount of
t i m e w a s t e d re a d i n g t h e n e c e s s a ry d a t a . C a ch e l i n e
Load / Store Queue Unit
IEU0 AGU0
Instruction Control Unit (72-Entry)
Fetch/Decode
Control
2-Way, 64-Kbyte Data Cache
32-Entry L1 TLB/256-Entry L2 TLB
3-Way x86 Instruction Decoders
FPU Register File (88-Entry)
MMX™
3DNow!™
FMUL
MMX
3DNow
!
IEU1
Integer Scheduler (18-Entry)
FPU Stack Map / Rename
L2 SRAMs
System Interface
2-Way, 64-Kbyte Instruction Cache
24-Entry L1 TLB/256-Entry L2 TLB
Predecode
Cache
Branch
Prediction Table
L2 Cache
Controller
Bus
Interface
Unit
FPU Scheduler (36-Entry)
AGU1
IEU2 AGU2
FADD
FSTORE
Содержание 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...