From 11a48faeb49c0029a94d5e5aeb2a270a9e2971ec Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Sat, 4 Jul 2015 10:43:46 -0500 Subject: [PATCH] o3: correct the number of cc registers in rename map --- src/cpu/o3/rename_map.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/o3/rename_map.cc b/src/cpu/o3/rename_map.cc index 25289825c..b0232df20 100644 --- a/src/cpu/o3/rename_map.cc +++ b/src/cpu/o3/rename_map.cc @@ -98,7 +98,7 @@ UnifiedRenameMap::init(PhysRegFile *_regFile, floatMap.init(TheISA::NumFloatRegs, &(freeList->floatList), _floatZeroReg); - ccMap.init(TheISA::NumFloatRegs, &(freeList->ccList), (RegIndex)-1); + ccMap.init(TheISA::NumCCRegs, &(freeList->ccList), (RegIndex)-1); } -- 2.30.2