Otawa
0.10
|
A dispatch object allows to map some kinds of instructions to a functional unit. More...
#include <otawa/hard/Processor.h>
Public Member Functions | |
STRONG_TYPE (type_t, Inst::kind_t) | |
Dispatch (void) | |
virtual | ~Dispatch (void) |
type_t | getType (void) const |
FunctionalUnit * | getFU (void) const |
Private Member Functions | |
SERIALIZABLE (otawa::hard::Dispatch, FIELD(type)&FIELD(fu)) | |
Private Attributes | |
type_t | type |
FunctionalUnit * | fu |
Friends | |
class | StageBuilder |
A dispatch object allows to map some kinds of instructions to a functional unit.
To find if the dispatch match an instruction, an AND is performed between the instruction kind and the dispatch type and if the result is equal to the dispatch type, this dispatch functional unit is selected. This means that the dispatched functional unit only process instructions that meets the all properties found in the dispatch kind.
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
References otawa::type().
|
private |
otawa::hard::Dispatch::STRONG_TYPE | ( | type_t | , |
Inst::kind_t | |||
) |
|
friend |
|
private |
Referenced by otawa::hard::StageBuilder::dispatch().
|
private |
Referenced by otawa::hard::StageBuilder::dispatch().