45 pipelined.fill(
false);
46 capabilityList.reset();
67 panic(
"FuncUnit: you don't really want a zero-cycle latency do you?");
69 capabilityList.set(cap);
71 opLatencies[cap] = oplat;
72 pipelined[cap] = pipeline;
78 return capabilityList[capability];
84 return capabilityList;
90 return opLatencies[cap];
96 return pipelined[capability];
120 OpDescParams::create()
129 FUDescParams::create()
#define panic(...)
This implements a cprintf based panic() function.
std::array< bool, Num_OpClasses > pipelined
void addCapability(OpClass cap, unsigned oplat, bool pipelined)
std::bitset< Num_OpClasses > capabilities()
Overload hash function for BasicBlockRange type.
bool isPipelined(OpClass capability)
bool provides(OpClass capability)
std::bitset< Num_OpClasses > capabilityList
static const OpClass Num_OpClasses
unsigned & opLatency(OpClass capability)
std::array< unsigned, Num_OpClasses > opLatencies