summaryrefslogtreecommitdiff
path: root/src/cpu/o3/cpu_policy.hh
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2013-10-15 14:22:43 -0400
committerSteve Reinhardt <steve.reinhardt@amd.com>2013-10-15 14:22:43 -0400
commitc009d0eb2a02dddce6cca1033d73efde21445487 (patch)
treef8f5d0319f23549f584495749ff493fab35fe953 /src/cpu/o3/cpu_policy.hh
parent06d246ab4ad79c01cb0b1304dbe9415496285b1b (diff)
downloadgem5-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_policy.hh')
-rw-r--r--src/cpu/o3/cpu_policy.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/cpu_policy.hh b/src/cpu/o3/cpu_policy.hh
index eea49ad52..a48059202 100644
--- a/src/cpu/o3/cpu_policy.hh
+++ b/src/cpu/o3/cpu_policy.hh
@@ -62,7 +62,7 @@ struct SimpleCPUPolicy
/** Typedef for the register file. Most classes assume a unified
* physical register file.
*/
- typedef PhysRegFile<Impl> RegFile;
+ typedef PhysRegFile RegFile;
/** Typedef for the freelist of registers. */
typedef SimpleFreeList FreeList;
/** Typedef for the rename map. */