O3: Clean up the O3 structures and try to pack them a bit better.
Review Request #1241 - Created May 30, 2012 and submitted
| Information | |
|---|---|
| Ali Saidi | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9037:350f47d32f56 --------------------------- O3: Clean up the O3 structures and try to pack them a bit better. DynInst is extremely large the hope is that this re-organization will put the most used members close to each other.
Posted (May 30, 2012, 8:26 a.m.)
Ali, can report the size of the BaseDynInst class before and after the application of your patch?
Ship It!
Posted (May 31, 2012, 7:53 a.m.)
-
src/cpu/o3/dyn_inst.hh (Diff revision 1) -
Should we hard code this value of 3?
-
src/cpu/o3/dyn_inst.hh (Diff revision 1) -
Where is this limit of 3 coming from?
Posted (May 31, 2012, 2:13 p.m.)
-
src/cpu/o3/dyn_inst.hh (Diff revision 1) -
You probably want to put a comment here explaining that these are offsets from fetchTick and that's why they can be smaller.
-
src/cpu/o3/dyn_inst.hh (Diff revision 1) -
This may not be enough. In any case, an exact value could be calculated by the ISA parser like it does for total sources and dests.
-
src/cpu/o3/rename_impl.hh (Diff revision 1) -
Nothing for dests? That's odd, but not unbelievable.
