gem5
v20.1.0.0
|
#include <func_unit.hh>
Public Member Functions | |
FuncUnit () | |
FuncUnit (const FuncUnit &fu) | |
void | addCapability (OpClass cap, unsigned oplat, bool pipelined) |
bool | provides (OpClass capability) |
std::bitset< Num_OpClasses > | capabilities () |
unsigned & | opLatency (OpClass capability) |
bool | isPipelined (OpClass capability) |
Public Attributes | |
std::string | name |
Private Attributes | |
std::array< unsigned, Num_OpClasses > | opLatencies |
std::array< bool, Num_OpClasses > | pipelined |
std::bitset< Num_OpClasses > | capabilityList |
Definition at line 83 of file func_unit.hh.
FuncUnit::FuncUnit | ( | ) |
Definition at line 42 of file func_unit.cc.
FuncUnit::FuncUnit | ( | const FuncUnit & | fu | ) |
Definition at line 51 of file func_unit.cc.
References PowerISA::fu, ArmISA::i, and Num_OpClasses.
void FuncUnit::addCapability | ( | OpClass | cap, |
unsigned | oplat, | ||
bool | pipelined | ||
) |
Definition at line 64 of file func_unit.cc.
References panic.
Referenced by Minor::FUPipeline::FUPipeline().
bitset< Num_OpClasses > FuncUnit::capabilities | ( | ) |
Definition at line 82 of file func_unit.cc.
bool FuncUnit::isPipelined | ( | OpClass | capability | ) |
Definition at line 94 of file func_unit.cc.
unsigned & FuncUnit::opLatency | ( | OpClass | capability | ) |
Definition at line 88 of file func_unit.cc.
bool FuncUnit::provides | ( | OpClass | capability | ) |
Definition at line 76 of file func_unit.cc.
|
private |
Definition at line 88 of file func_unit.hh.
std::string FuncUnit::name |
Definition at line 94 of file func_unit.hh.
Referenced by FUPool::FUPool().
|
private |
Definition at line 86 of file func_unit.hh.
|
private |
Definition at line 87 of file func_unit.hh.