14.06.2015 Views

Power ISA™ Version 2.03 - Power.org

Power ISA™ Version 2.03 - Power.org

Power ISA™ Version 2.03 - Power.org

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.

<strong>Version</strong> <strong>2.03</strong><br />

A.2 Embedded Cache Debug Facility<br />

[Category: Embedded.Cache Debug]<br />

A.2.1 Embedded Cache Debug Registers<br />

A.2.1.1<br />

High<br />

Data Cache Debug Tag Register<br />

The Data Cache Debug Tag Register High (DCDBTRH)<br />

is a 32-bit Special Purpose Register (SPRN=0x39D).<br />

Data Cache Debug Tag Register High is read using<br />

mfspr and is set by dcread.<br />

DCDBTRH<br />

32 63<br />

Figure 25. Data Cache Debug Tag Register High<br />

Programming Note<br />

An example implementation of DCDBTRH could<br />

have the following content and format.<br />

Bit(s) Description<br />

32:55 Tag Real Address (TRA)<br />

Bits 0:23 of the lower 32 bits of the 36-bit<br />

real address associated with this cache<br />

block<br />

56 Valid (V)<br />

The valid indicator for the cache block (1<br />

indicates valid)<br />

57:59 Reserved<br />

60:63 Tag Extended Real Address (TERA)<br />

Upper 4 bits of the 36-bit real address<br />

associated with this cache block<br />

Implementations may support different content and<br />

format based on their cache implementation.<br />

A.2.1.2<br />

Low<br />

Data Cache Debug Tag Register<br />

The Data Cache Debug Tag Register Low (DCDBTRL)<br />

is a 32-bit Special Purpose Register (SPRN=0x39C).<br />

Data Cache Debug Tag Register Low is read using<br />

mfspr and is set by dcread.<br />

DCDBTRL<br />

32 63<br />

Figure 26. Data Cache Debug Tag Register Low<br />

Programming Note<br />

An example implementation of DCDBTRL could<br />

have the following content and format.<br />

Bit(s) Description<br />

32:44 Reserved (TRA)<br />

45 U bit parity (UPAR)<br />

46:47 Tag parity (TPAR)<br />

48:51 Data parity (DPAR)<br />

52:55 Modified (dirty) parity (MPAR)<br />

56:59 Dirty Indicators (D)<br />

The “dirty” (modified) indicators for each<br />

of the four doublewords in the cache block<br />

60 U0 Storage Attribute (U0)<br />

The U0 storage attribute for the page<br />

associated with this cache block<br />

61 U1 Storage Attribute (U1)<br />

The U1 storage attribute for the page<br />

associated with this cache block<br />

62 U2 Storage Attribute (U2)<br />

The U2 storage attribute for the page<br />

associated with this cache block<br />

63 U3 Storage Attribute (U3)<br />

The U3 storage attribute for the page<br />

associated with this cache block<br />

Implementations may support different content and<br />

format based on their cache implementation.<br />

608<br />

<strong>Power</strong> ISA -- Book III-E

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

Saved successfully!

Ooh no, something went wrong!