summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Gutierrez <anthony.gutierrez@amd.com>2016-05-16 15:36:24 -0400
committerTony Gutierrez <anthony.gutierrez@amd.com>2016-05-16 15:36:24 -0400
commit7dad4377eccebfeedbe3dde1886eead7197baa06 (patch)
tree17b493ef9e2a655457a8ea566d82c5b9b37e34d9
parent5131a768c38eed19de983e15bbbfb69967f01091 (diff)
downloadgem5-7dad4377eccebfeedbe3dde1886eead7197baa06.tar.xz
gpu-compute: fix bug in GPUDynInst::isScalarRegister()
-rw-r--r--src/gpu-compute/gpu_dyn_inst.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu-compute/gpu_dyn_inst.cc b/src/gpu-compute/gpu_dyn_inst.cc
index 337ff9d4f..2f35a983c 100644
--- a/src/gpu-compute/gpu_dyn_inst.cc
+++ b/src/gpu-compute/gpu_dyn_inst.cc
@@ -84,7 +84,7 @@ GPUDynInst::isVectorRegister(int operandIdx)
bool
GPUDynInst::isScalarRegister(int operandIdx)
{
- return staticInst->isVectorRegister(operandIdx);
+ return staticInst->isScalarRegister(operandIdx);
}
int