From: Nilay Vaish Date: Sat, 4 Jul 2015 15:43:46 +0000 (-0500) Subject: o3: correct the number of cc registers in rename map X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11a48faeb49c0029a94d5e5aeb2a270a9e2971ec;p=gem5.git o3: correct the number of cc registers in rename map --- 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); }