free_list.hh (12334:e0ab29a34764) free_list.hh (13598:39220222740c)
1/*
2 * Copyright (c) 2016 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

--- 220 unchanged lines hidden (view full) ---

229 unsigned numFreeIntRegs() const { return intList.numFreeRegs(); }
230
231 /** Returns the number of free fp registers. */
232 unsigned numFreeFloatRegs() const { return floatList.numFreeRegs(); }
233
234 /** Returns the number of free vector registers. */
235 unsigned numFreeVecRegs() const { return vecList.numFreeRegs(); }
236
1/*
2 * Copyright (c) 2016 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

--- 220 unchanged lines hidden (view full) ---

229 unsigned numFreeIntRegs() const { return intList.numFreeRegs(); }
230
231 /** Returns the number of free fp registers. */
232 unsigned numFreeFloatRegs() const { return floatList.numFreeRegs(); }
233
234 /** Returns the number of free vector registers. */
235 unsigned numFreeVecRegs() const { return vecList.numFreeRegs(); }
236
237 /** Returns the number of free vector registers. */
238 unsigned numFreeVecElems() const { return vecElemList.numFreeRegs(); }
239
237 /** Returns the number of free cc registers. */
238 unsigned numFreeCCRegs() const { return ccList.numFreeRegs(); }
239};
240
241template<class InputIt>
242inline void
243UnifiedFreeList::addRegs(InputIt first, InputIt last)
244{

--- 75 unchanged lines hidden ---
240 /** Returns the number of free cc registers. */
241 unsigned numFreeCCRegs() const { return ccList.numFreeRegs(); }
242};
243
244template<class InputIt>
245inline void
246UnifiedFreeList::addRegs(InputIt first, InputIt last)
247{

--- 75 unchanged lines hidden ---