diff options
Diffstat (limited to 'src/gpu-compute/gpu_dyn_inst.cc')
-rw-r--r-- | src/gpu-compute/gpu_dyn_inst.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gpu-compute/gpu_dyn_inst.cc b/src/gpu-compute/gpu_dyn_inst.cc index 7092a7a40..ecd54f091 100644 --- a/src/gpu-compute/gpu_dyn_inst.cc +++ b/src/gpu-compute/gpu_dyn_inst.cc @@ -102,10 +102,16 @@ GPUDynInst::isScalarRegister(int operandIdx) return _staticInst->isScalarRegister(operandIdx); } +bool +GPUDynInst::isCondRegister(int operandIdx) +{ + return _staticInst->isCondRegister(operandIdx); +} + int -GPUDynInst::getRegisterIndex(int operandIdx) +GPUDynInst::getRegisterIndex(int operandIdx, GPUDynInstPtr gpuDynInst) { - return _staticInst->getRegisterIndex(operandIdx); + return _staticInst->getRegisterIndex(operandIdx, gpuDynInst); } int |