diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2004-05-18 22:09:13 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2004-05-18 22:09:13 -0700 |
commit | 27a6e8258dabef233bc1681649b871bf150878ed (patch) | |
tree | d054d7b3aae65dcc17f36108eb163d287277502d /cpu/pc_event.cc | |
parent | 4c55d26e664f870d56889097939569c4b07c6de2 (diff) | |
download | gem5-27a6e8258dabef233bc1681649b871bf150878ed.tar.xz |
Add a level of indirection to the register accessors used in
instruction execute methods. Register i now means the instruction's
i'th src (or dest) operand, not architectural register i. Current
models that use the architectural reg index can look that up easily
in the instruction object. Future models that do register renaming
should find this much simpler to deal with.
arch/isa_parser.py:
Generate register accessors with an extra level of indirection.
cpu/simple_cpu/simple_cpu.hh:
Modify register accessors to use an extra level of indirection.
--HG--
extra : convert_revision : f4c7d6bfa92fb2ea6251f31ee368809c3643f08f
Diffstat (limited to 'cpu/pc_event.cc')
0 files changed, 0 insertions, 0 deletions