diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2013-10-15 14:22:43 -0400 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2013-10-15 14:22:43 -0400 |
commit | c009d0eb2a02dddce6cca1033d73efde21445487 (patch) | |
tree | f8f5d0319f23549f584495749ff493fab35fe953 /src/cpu/o3/cpu.cc | |
parent | 06d246ab4ad79c01cb0b1304dbe9415496285b1b (diff) | |
download | gem5-c009d0eb2a02dddce6cca1033d73efde21445487.tar.xz |
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.
Diffstat (limited to 'src/cpu/o3/cpu.cc')
-rw-r--r-- | src/cpu/o3/cpu.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/cpu.cc b/src/cpu/o3/cpu.cc index 99beaa176..4b316ae7e 100644 --- a/src/cpu/o3/cpu.cc +++ b/src/cpu/o3/cpu.cc @@ -223,7 +223,7 @@ FullO3CPU<Impl>::FullO3CPU(DerivO3CPUParams *params) iew(this, params), commit(this, params), - regFile(this, params->numPhysIntRegs, + regFile(params->numPhysIntRegs, params->numPhysFloatRegs), freeList(params->numThreads, |