dcread
Data Cache Read
Preliminary
PPC440x5 CPU Core User’s Manual
instrset.fm.
September 12, 2002
Page 305 of 589
dcread
Data Cache Read
EA
←
(RA|0) + (RB)
INDEX
←
EA
17:26
WORD
←
EA
27:29
(RT)
←
(data cache data)[INDEX,WORD]
DCDBTRH
←
(data cache tag high)[INDEX]
DCDBTRL
←
(data 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 from the data cache. EA
27:29
selects a word from the 8-word data
portion of the selected cache line, and this word is read into register RT. EA
30:31
must be 0b00; if not, the
value placed in register RT is undefined.
The tag portion of the selected cache line is read into the DCDBTRH and DCDBTRL registers, as follows:
This instruction can be used by a debug tool to determine the contents of the data 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.
dcread
RT, RA, RB
31
RT
RA
RB
486
0
6
11
16
21
31
Register[bit(s)]
Tag
Field
Name
DCDBTRH[0:23]
TRA
Tag Real Address
Bits 0:23 of the lower 32 bits of the 36-bit real
address associated with this cache line
DCDBTRH[24]
V
Valid
The valid indicator for the cache line (1 indi-
cates valid)
DCDBTRH[25:27]
reserved
Reserved fields are read as 0s
DCDBTRH[28:31]
TERA
Tag Extended Real Address
Upper 4 bits of the 36-bit real address associ-
ated with this cache line
DCDBTRL[0:23]
reserved
Reserved fields are read as 0s
DCDBTRL[24:27]
D
Dirty Indicators
The “dirty” (modified) indicators for each of the
four doublewords in the cache line
DCDBTRL[28]
U0
U0 Storage Attribute
The U0 storage attribute for the memory page
associated with this cache line
DCDBTRL[29]
U1
U1 Storage Attribute
The U0 storage attribute for the memory page
associated with this cache line
DCDBTRL[30]
U2
U2 Storage Attribute
The U0 storage attribute for the memory page
associated with this cache line
DCDBTRL[31]
U3
U3 Storage Attribute
The U0 storage attribute for the memory page
associated 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: ......