cpu: clean up architectural register classification
Review Request #1981 - Created Aug. 21, 2013 and submitted
| Information | |
|---|---|
| Steve Reinhardt | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9846:76e56335fbfe --------------------------- cpu: clean up architectural register classification Move from a poorly documented scheme where the mapping of unified architectural register indices to register classes is hardcoded all over to one where there's an enum for the register classes and a function that encapsulates the mapping.
Posted (Aug. 22, 2013, 3:35 p.m.)
-
src/cpu/reg_class.hh (Diff revision 1) -
clang static analysis will complain on this last comma
-
src/cpu/reg_class.hh (Diff revision 1) -
Worth putting in a doxy file?
-
src/cpu/reg_class.hh (Diff revision 1) -
regIdxToClass?
-
src/cpu/reg_class.hh (Diff revision 1) -
NULL please, once again, the static analysis will flag it
-
src/cpu/reg_class.cc (Diff revision 1) -
the trailing semicolon should not be there...I think
Some very minor things. For the rest it looks sensible to me.
Review request changed
Updated (Aug. 26, 2013, 6:27 p.m.)
Description: |
|
||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+351 -109) |
Ship It!
Ship It!
