From 6df196b71e058b2c827e1027416155ac8ec8cf9f Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Tue, 5 Jun 2012 01:23:09 -0400 Subject: 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. --- src/cpu/o3/rename_impl.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/cpu/o3/rename_impl.hh') diff --git a/src/cpu/o3/rename_impl.hh b/src/cpu/o3/rename_impl.hh index 678927813..592bc059f 100644 --- a/src/cpu/o3/rename_impl.hh +++ b/src/cpu/o3/rename_impl.hh @@ -692,7 +692,7 @@ DefaultRename::renameInsts(ThreadID tid) ++renamed_insts; #if TRACING_ON - inst->renameTick = curTick(); + inst->renameTick = curTick() - inst->fetchTick; #endif // Put instruction in rename queue. @@ -997,8 +997,6 @@ DefaultRename::renameSrcRegs(DynInstPtr &inst, ThreadID tid) panic("Reg index is out of bound: %d.", src_reg); } - inst->flattenSrcReg(src_idx, flat_src_reg); - // Look up the source registers to get the phys. register they've // been renamed to, and set the sources to those registers. PhysRegIndex renamed_reg = renameMap[tid]->lookup(flat_src_reg); -- cgit v1.2.3