1/* 2 * Copyright (c) 2016-2017,2019 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 137 unchanged lines hidden (view full) --- 146 } 147 148 } else if (vecMode == Enums::Full) { 149 150 /* The free list should currently be tracking register elems. */ 151 panic_if(freeList->hasFreeVecRegs(), 152 "The free list is already tracking full Vec"); 153 panic_if(freeList->numFreeVecElems() != |
154 regFile->numVecElemPhysRegs() - 155 TheISA::NumVecRegs * TheISA::NumVecElemPerVecReg, 156 "The free list has lost vector register elements"); |
157 158 auto range = regFile->getRegIds(VecRegClass); 159 freeList->addRegs(range.first + TheISA::NumVecRegs, range.second); 160 161 /* We remove the elems from the free list. */ 162 while (freeList->hasFreeVecElems()) 163 freeList->getVecElem(); 164 } --- 50 unchanged lines hidden --- |