Appendix B
Programming the MIPS32® 74K™ Core Family, Revision 02.14
137
CP0 register summary and reference
This appendix lists all the CP0 registers of the 74K core. You can find registers by name through
ber through
and there’s our best shot at functional groupings in
. The registers-by-number
tells you where to find a detailed description - if you’re reading on-line it’s a hot-link.
Power-up state of CP0 registers
The traditions of the MIPS architecture regard it as software’s job to initialize CP0 registers. As a rule, only fields
where a wrong setting would prevent the CPU from booting are forced to an appropriate state by reset; other fields -
including other fields in the same register - are random. This manual documents where a field has a forced-from-reset
value; but your rule should be that all CP0 registers should be initialized unless you are quite sure that a random value
will be harmless.
A note on unused fields in CP0 registers
Unused fields in registers are marked either with a digit 0 or an “X”. A field marked zero should always be written
with zero, and subject to that is guaranteed to read zero on cores in the 74K family. A field marked “X” may return
any value, and nothing you write there will have any effect - but unless stated otherwise, it’s usually best to write it
either as zero or with a value you previously read from it
Table B.1 Register index by name
Name
Number
Name
Number
Name
Number
Name
Number
BadVAddr
8.0
Debug
23.0
Index
0.0
SRSMap
12.3
CacheErr
27.0
DEPC
24.0
IntCtl
12.1
Status
12.0
Cause
13.0
DESAVE
31.0
ITagHi
29.0
TraceControl
23.1
CDMMBase
15.2
DTagHi
29.2
ITagLo
28.0
TraceControl2
23.2
Compare
11.0
DTagLo
28.2
L23DataHi
29.5
TraceControl3
24.2
Config
16.0
EBase
15.1
L23DataLo
28.5
TraceIPBC
23.4
Config1-2
16.1-2
EntryHi
10.0
L23TagLo
28.4
TraceDPBC
23.5
Config3
16.3
EntryLo0-1
2.0
3.0
PageMask
5.0
UserLocal
4.2
Config6
16.6
EPC
14.0
PerfCnt0-3
25.1
25.3
25.5
25.7
UserTraceData1
23.3
Config7
16.7
ErrCtl
26.0
PerfCtl0-3
25.0
25.2
25.4
25.6
UserTraceData2
24.3
Context
4.0
ErrorEPC
30.0
PRId
15.0
WatchHi0-3
19.0-3
ContextConfig
4.1
HWREna
7.0
Random
1.0
WatchLo0-3
18.0-3
Содержание MIPS32 74K Series
Страница 1: ...Document Number MD00541 Revision 02 14 March 30 2011 Programming the MIPS32 74K Core Family...
Страница 10: ...Programming the MIPS32 74K Core Family Revision 02 14 10...
Страница 20: ...1 4 A brief guide to the 74K core implementation Programming the MIPS32 74K Core Family Revision 02 14 20...
Страница 28: ...2 2 PRId register identifying your CPU type Programming the MIPS32 74K Core Family Revision 02 14 28...
Страница 54: ...3 8 The TLB and translation Programming the MIPS32 74K Core Family Revision 02 14 54...
Страница 83: ......
Страница 86: ...6 5 FPU pipeline and instruction timing Programming the MIPS32 74K Core Family Revision 02 14 86...
Страница 101: ...The MIPS32 DSP ASE 101 Programming the MIPS32 74K Core Family Revision 02 14...
Страница 134: ...8 4 Performance counters Programming the MIPS32 74K Core Family Revision 02 14 134...
Страница 154: ...C 3 FPU changes in Release 2 of the MIPS32 Architecture Programming the MIPS32 74K Core Family Revision 02 14 154...