arch, cpu: Add support for flattening misc register indexes.
Review Request #2108 - Created Nov. 30, 2013 and submitted
| Information | |
|---|---|
| Ali Saidi | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10009:2780f9f2ff7d --------------------------- arch, cpu: Add support for flattening misc register indexes. With ARMv8 support the same misc register id results in accessing different registers depending on the current mode of the processor. This patch adds the same orthogonality to the misc register file as the others (int, float, cc). For all the othre ISAs this is currently a null-implementation. Additionally, a system variable is added to all the ISA objects.
Posted (Dec. 1, 2013, 9:36 p.m.)
The flattenMiscReg stuff looks fine. I'm confused about the system pointer though; what's the need for it? (I assume that's forthcoming, but I'd like to know before I go along with adding the hooks here.) Also, why no system param in the python object for power, sparc, or x86?
-
src/arch/sparc/isa.hh (Diff revision 1) -
whitespace issue?
