From c009d0eb2a02dddce6cca1033d73efde21445487 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Tue, 15 Oct 2013 14:22:43 -0400 Subject: 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. --- src/cpu/o3/cpu.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/o3/cpu.cc') 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::FullO3CPU(DerivO3CPUParams *params) iew(this, params), commit(this, params), - regFile(this, params->numPhysIntRegs, + regFile(params->numPhysIntRegs, params->numPhysFloatRegs), freeList(params->numThreads, -- cgit v1.2.3