47 pipelined.fill(
false);
48 capabilityList.reset();
69 panic(
"FuncUnit: you don't really want a zero-cycle latency do you?");
71 capabilityList.set(cap);
73 opLatencies[cap] = oplat;
74 pipelined[cap] = pipeline;
80 return capabilityList[capability];
86 return capabilityList;
92 return opLatencies[cap];
98 return pipelined[capability];
122 OpDescParams::create()
131 FUDescParams::create()
std::array< bool, Num_OpClasses > pipelined
void addCapability(OpClass cap, unsigned oplat, bool pipelined)
std::bitset< Num_OpClasses > capabilities()
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