cpu/o3: clean up physical register file
Review Request #1983 - Created Aug. 21, 2013 and submitted
| Information | |
|---|---|
| Steve Reinhardt | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9848:542532cc5b73 --------------------------- cpu/o3: clean up physical register file No need for PhysRegFile to be a template class, or have a pointer back to the CPU. Also made some methods for checking the physical register type (int vs. float) based on the phys reg index, which will come in handy later.
LGTM
-
src/cpu/o3/regfile.hh (Diff revision 1) -
@return?
-
src/cpu/o3/regfile.hh (Diff revision 1) -
const
-
src/cpu/o3/regfile.hh (Diff revision 1) -
const
-
src/cpu/o3/regfile.hh (Diff revision 1) -
const
-
src/cpu/o3/regfile.hh (Diff revision 1) -
const
-
src/cpu/o3/regfile.hh (Diff revision 1) -
0 <=? Can it be negative?
-
src/cpu/o3/regfile.hh (Diff revision 1) -
const
-
src/cpu/o3/regfile.hh (Diff revision 1) -
Is there a good reason these are not std::vectors? No need to change...just asking.
Review request changed
Updated (Aug. 26, 2013, 6:46 p.m.)
Description: |
|
|||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+84 -70) |
Review request changed
Updated (Aug. 26, 2013, 6:48 p.m.)
Summary: |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
Diff: |
Revision 3 (+113 -173) |
Review request changed
Updated (Aug. 26, 2013, 6:53 p.m.)
Summary: |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
Diff: |
Revision 4 (+88 -73) |
Ship It!
