rename_map.cc (13610:5d5404ac6288) rename_map.cc (13843:2d8dfe55d22a)
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() !=
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() - TheISA::NumFloatRegs,
155 "The free list has lost vector register elements");
154 regFile->numVecElemPhysRegs() -
155 TheISA::NumVecRegs * TheISA::NumVecElemPerVecReg,
156 "The free list has lost vector register elements");
156
157 auto range = regFile->getRegIds(VecRegClass);
158 freeList->addRegs(range.first + TheISA::NumVecRegs, range.second);
159
160 /* We remove the elems from the free list. */
161 while (freeList->hasFreeVecElems())
162 freeList->getVecElem();
163 }

--- 50 unchanged lines hidden ---
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 ---