fu_pool.cc (10807:dac26eb4cb64) | fu_pool.cc (10814:46b6043bd32c) |
---|---|
1/* 2 * Copyright (c) 2012-2013 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 --- 73 unchanged lines hidden (view full) --- 82// Constructor 83FUPool::FUPool(const Params *p) 84 : SimObject(p) 85{ 86 numFU = 0; 87 88 funcUnits.clear(); 89 | 1/* 2 * Copyright (c) 2012-2013 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 --- 73 unchanged lines hidden (view full) --- 82// Constructor 83FUPool::FUPool(const Params *p) 84 : SimObject(p) 85{ 86 numFU = 0; 87 88 funcUnits.clear(); 89 |
90 for (int i = 0; i < Num_OpClasses; ++i) { 91 maxOpLatencies[i] = Cycles(0); 92 pipelined[i] = true; 93 } | 90 maxOpLatencies.fill(Cycles(0)); 91 pipelined.fill(true); |
94 95 // 96 // Iterate through the list of FUDescData structures 97 // 98 const vector<FUDesc *> ¶mList = p->FUList; 99 for (FUDDiterator i = paramList.begin(); i != paramList.end(); ++i) { 100 101 // --- 170 unchanged lines hidden --- | 92 93 // 94 // Iterate through the list of FUDescData structures 95 // 96 const vector<FUDesc *> ¶mList = p->FUList; 97 for (FUDDiterator i = paramList.begin(); i != paramList.end(); ++i) { 98 99 // --- 170 unchanged lines hidden --- |