36 #ifndef __CONDITION_REGISTER_STATE_HH__
37 #define __CONDITION_REGISTER_STATE_HH__
54 void init(uint32_t _size);
61 read(
int regIdx,
int threadId)
63 bool tmp =
c_reg[regIdx][threadId];
71 write(
int regIdx,
int threadId, T value)
73 c_reg[regIdx][threadId] = (bool)(value & 0x01);
79 busy.at(regIdx) = value;
ComputeUnit * computeUnit
void setParent(ComputeUnit *_computeUnit)
void write(int regIdx, int threadId, T value)
std::vector< VectorMask > c_reg
void init(uint32_t _size)
T read(int regIdx, int threadId)
const std::string name() const
std::shared_ptr< GPUDynInst > GPUDynInstPtr
std::vector< uint8_t > busy
void exec(GPUDynInstPtr ii, Wavefront *w)
void markReg(int regIdx, uint8_t value)