61 busy.resize(_size, 0);
68 for (
auto i = 0;
i < ii->getNumOperands(); ++
i) {
70 if (ii->isCondRegister(
i) && ii->isDstOperand(
i)) {
72 markReg(ii->getRegisterIndex(
i, ii), 1);
77 registerEvent(w->
simdId, ii->getRegisterIndex(
i, ii),
78 ii->getOperandSize(
i),
Tick ticks(int numCycles) const
ComputeUnit * computeUnit
void setParent(ComputeUnit *_computeUnit)
std::vector< VectorMask > c_reg
void init(uint32_t _size)
std::shared_ptr< GPUDynInst > GPUDynInstPtr
std::vector< uint8_t > busy
void exec(GPUDynInstPtr ii, Wavefront *w)
ComputeUnit * computeUnit
virtual const std::string name() const
void markReg(int regIdx, uint8_t value)