Go to the documentation of this file.
33 #ifndef TTA_BEM_TESTER_HH
34 #define TTA_BEM_TESTER_HH
57 unsigned int encoding,
58 unsigned int extraBits);
61 unsigned int encoding,
62 unsigned int extraBits,
66 unsigned int encoding,
67 unsigned int extraBits);
72 unsigned int extraBits1,
74 unsigned int extraBits2,
82 unsigned int toFieldWidth,
85 unsigned width1,
int pos1,
86 unsigned width2,
int pos2);
89 unsigned int encoding,
unsigned int width,
int offset);
92 unsigned int encoding,
unsigned int width,
int offset);
95 unsigned int encoding,
unsigned int width,
int offset);
98 unsigned int encoding,
unsigned int width,
int offset);
100 unsigned encoding,
unsigned encodingWidth,
101 unsigned targetWidth,
int offsetToTarget);
104 unsigned encoding,
unsigned encodingWidth,
int offsetToTarget);
static bool fieldsOverlap(const InstructionField &with, unsigned int toFieldWidth, int toFieldPos)
static bool conflictsWithGuardEncoding(const GuardField &field, unsigned int encoding, unsigned int width, int offset)
static int commonBitCount(unsigned int enc1, unsigned int extraBits1, unsigned int enc2, unsigned int extraBits2, int alignment)
static int calculateAlignment(unsigned int enc1, unsigned int enc2, const SlotField &field)
static bool conflictsWithDestinationEncodings(const DestinationField &field, unsigned int encoding, unsigned int width, int offset)
static bool canAddPortEncoding(SocketCodeTable &table, unsigned int encoding, unsigned int extraBits)
static std::tuple< unsigned, unsigned, int > splitEncoding(unsigned encoding, unsigned encodingWidth, unsigned targetWidth, int offsetToTarget)
static std::tuple< unsigned, unsigned, int > splitEncodingTo(const SocketEncoding &socketEncoding, unsigned encoding, unsigned encodingWidth, int offsetToTarget)
static bool conflictsWithSourceEncodings(const SourceField &field, unsigned int encoding, unsigned int width, int offset)
static bool canAddComponentEncoding(SlotField &field, unsigned int encoding, unsigned int extraBits)
static bool conflictsWithSocketTableEncodings(const SocketCodeTable &scTable, unsigned int encoding, unsigned int width, int offset)
static bool canAddComponentPriorityEncoding(MoveSlot &slot, unsigned int encoding, unsigned int extraBits, int offset=0)