17.01.2013 Views

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

46 Chapter 4.<br />

4.1 Primary Instruction Cache<br />

Set<br />

Virtual<br />

Index<br />

Tag 0<br />

The processor has an on-chip 32-Kbyte primary instruction cache (also referred to<br />

simply as the instruction cache), which is a subset of the secondary cache.<br />

Organization of the instruction cache is shown in Figure 4-1.<br />

The instruction cache has a fixed block size of 16 words and is two-way set<br />

associative with a least-recently-used (LRU) replacement algorithm. †<br />

The instruction cache is indexed with a virtual address and tagged with a physical<br />

address.<br />

Way 0 16 Kbytes<br />

Word<br />

Data 0<br />

Word<br />

0<br />

15<br />

block<br />

Figure 4-1 Organization of Primary Instruction Cache<br />

Way 1 16 Kbytes<br />

Word<br />

Data 1<br />

Word<br />

0<br />

15<br />

Each instruction cache block is in one of the following two states:<br />

• Invalid<br />

• Valid<br />

† The precise implementation of the LRU algorithm is affected by the speculative<br />

execution of instructions.<br />

Version 2.0 of January 29, 1997 <strong>MIPS</strong> <strong>R10000</strong> <strong>Microprocessor</strong> <strong>User's</strong> <strong>Manual</strong><br />

Tag 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!