icread
Instruction Cache Read
Preliminary
PPC440x5 CPU Core User’s Manual
instrset.fm.
September 12, 2002
Page 317 of 589
icread
Instruction Cache Read
EA
←
(RA|0) + (RB)
INDEX
←
EA
17:26
WORD
←
EA
27:29
ICDBDR
←
(instruction cache data)[INDEX,WORD]
ICDBTRH
←
(instruction cache tag high)[INDEX]
ICDBTRL
←
(instruction cache tag low)[INDEX]
An effective address (EA) is formed by adding an index to a base address. The index is the contents of
register RB. The base address is 0 if the RA field is 0 and is the contents of register RA otherwise.
EA
17:26
selects a line of tag and data (instructions) from the instruction cache. EA
27:29
selects a 32-bit
instruction from the 8-instruction data portion of the selected cache line, and this instruction is read into the
ICDBDR. EA
30:31
are ignored, as are EA
0:16
.
The tag portion of the selected cache line is read into the ICDBTRH and ICDBTRL registers, as follows:
The instruction cache on PPC440x5 is “virtually-tagged”, which means that the tag field contains the virtual
address, which consists of the TEA, TS, and TID fields. See Memory Management on page 133 for more
information on the function of the TS, TD, and TID fields.
This instruction can be used by a debug tool to determine the contents of the instruction cache, without
knowing the specific addresses of the lines which are currently contained within the cache.
If instruction bit 31 contains 1, the contents of CR[CR0] are undefined.
icread
RA, RB
31
RA
RB
998
0
6
11
16
21
31
Register[bit(s)]
Tag
Field
Name
ICDBTRH[0:23]
TEA
Tag Effective Address
Bits 0:23 of the 32-bit effective address associ-
ated with this cache line
ICDBTRH[24]
V
Valid
The valid indicator for the cache line (1 indi-
cates valid)
ICDBTRH[25:31]
reserved
Reserved fields are read as 0s
ICDBTRL[0:21]
reserved
Reserved fields are read as 0s
ICDBTRL[22]
TS
Translation Space
The address space portion of the virtual
address associated with this cache line.
ICDBTRL[23]
TD
Translation ID (TID) Disable
TID Disable field for the memory page associ-
ated with this cache line
ICDBTRL[24:31]
TID
Translation ID
TID field portion of the virtual address associ-
ated with this cache line
Содержание PPC440X5 CPU Core
Страница 1: ...PPC440x5 CPU Core User s Manual Preliminary SA14 2613 02 September 12 2002 Title Page...
Страница 22: ...User s Manual PPC440x5 CPU Core Preliminary Page 22 of 583 ppc440x5LOT fm September 12 2002...
Страница 26: ...User s Manual PPC440x5 CPU Core Preliminary Page 26 of 589 preface fm September 12 2002...
Страница 38: ...User s Manual PPC440x5 CPU Core Preliminary Page 38 of 589 overview fm September 12 2002...
Страница 94: ...User s Manual PPC440x5 CPU Core Preliminary Page 94 of 589 init fm September 12 2002...
Страница 132: ...User s Manual PPC440x5 CPU Core Preliminary Page 132 of 589 cache fm September 12 2002...
Страница 158: ...User s Manual PPC440x5 CPU Core Preliminary Page 158 of 589 mmu fm September 12 2002...
Страница 218: ...User s Manual PPC440x5 CPU Core Preliminary Page 218 of 589 timers fm September 12 2002...
Страница 248: ...User s Manual PPC440x5 CPU Core Preliminary Page 248 of 589 debug fm September 12 2002...
Страница 458: ...User s Manual PPC440x5 CPU Core Preliminary Page 458 of 589 regsummIntro fm September 12 2002...
Страница 568: ...User s Manual PPC440x5 CPU Core Preliminary Page 568 of 589 instalfa fm September 12 2002...
Страница 588: ...User s Manual PPC440x5 CPU Core Preliminary Page 588 of 583 ppc440x5IX fm September 12 2002...
Страница 590: ......