diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/o3/rename_map.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cpu/o3/rename_map.cc b/src/cpu/o3/rename_map.cc index 603f1ff36..9d912e582 100644 --- a/src/cpu/o3/rename_map.cc +++ b/src/cpu/o3/rename_map.cc @@ -151,8 +151,9 @@ UnifiedRenameMap::switchFreeList(UnifiedFreeList* freeList) panic_if(freeList->hasFreeVecRegs(), "The free list is already tracking full Vec"); panic_if(freeList->numFreeVecElems() != - regFile->numVecElemPhysRegs() - TheISA::NumFloatRegs, - "The free list has lost vector register elements"); + regFile->numVecElemPhysRegs() - + TheISA::NumVecRegs * TheISA::NumVecElemPerVecReg, + "The free list has lost vector register elements"); auto range = regFile->getRegIds(VecRegClass); freeList->addRegs(range.first + TheISA::NumVecRegs, range.second); |