summaryrefslogtreecommitdiff
path: root/src/arch/hsail
diff options
context:
space:
mode:
authorTony Gutierrez <anthony.gutierrez@amd.com>2016-10-26 22:47:01 -0400
committerTony Gutierrez <anthony.gutierrez@amd.com>2016-10-26 22:47:01 -0400
commit0a6cdff1760572bfa3cf9dffaa4a0df9fb4ae6a4 (patch)
tree10f143a01235d41e898ab03383a3b188e28be3e6 /src/arch/hsail
parentc7d4afd878ac37ff7d1b72628e98d6337f0a4441 (diff)
downloadgem5-0a6cdff1760572bfa3cf9dffaa4a0df9fb4ae6a4.tar.xz
gpu-compute, arch: add some methods to the base inst classes for ISA support
Diffstat (limited to 'src/arch/hsail')
-rw-r--r--src/arch/hsail/insts/gpu_static_inst.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/hsail/insts/gpu_static_inst.hh b/src/arch/hsail/insts/gpu_static_inst.hh
index 29aab1f70..6a5ad5003 100644
--- a/src/arch/hsail/insts/gpu_static_inst.hh
+++ b/src/arch/hsail/insts/gpu_static_inst.hh
@@ -56,6 +56,7 @@ namespace HsailISA
void generateDisassembly();
const std::string &disassemble();
uint32_t instSize() { return 4; }
+ bool isValid() const override { return true; }
protected:
HsailCode *hsailCode;