Lines Matching defs:fu_idx
57 FUPool::FUIdxQueue::addFU(int fu_idx)
59 funcUnitsIdx.push_back(fu_idx);
167 int fu_idx = fuPerCapList[capability].getFU();
168 int start_idx = fu_idx;
172 while (unitBusy[fu_idx]) {
173 fu_idx = fuPerCapList[capability].getFU();
174 if (fu_idx == start_idx) {
180 assert(fu_idx < numFU);
182 unitBusy[fu_idx] = true;
184 return fu_idx;
188 FUPool::freeUnitNextCycle(int fu_idx)
190 assert(unitBusy[fu_idx]);
191 unitsToBeFreed.push_back(fu_idx);
198 int fu_idx = unitsToBeFreed.back();
201 assert(unitBusy[fu_idx]);
203 unitBusy[fu_idx] = false;