summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorTony Gutierrez <anthony.gutierrez@amd.com>2016-10-26 22:47:05 -0400
committerTony Gutierrez <anthony.gutierrez@amd.com>2016-10-26 22:47:05 -0400
commite1ad8035a379cea98ecef92e78d2894f60b2eedd (patch)
tree2d40294b1706bc4af45c8fae89f381bf7e99bfa7 /src/arch
parent0a6cdff1760572bfa3cf9dffaa4a0df9fb4ae6a4 (diff)
downloadgem5-e1ad8035a379cea98ecef92e78d2894f60b2eedd.tar.xz
gpu-compute: move disassemle() implementation to GPUStaticInst
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/hsail/insts/gpu_static_inst.cc11
-rw-r--r--src/arch/hsail/insts/gpu_static_inst.hh1
2 files changed, 0 insertions, 12 deletions
diff --git a/src/arch/hsail/insts/gpu_static_inst.cc b/src/arch/hsail/insts/gpu_static_inst.cc
index bbaeb13e6..dba2756d0 100644
--- a/src/arch/hsail/insts/gpu_static_inst.cc
+++ b/src/arch/hsail/insts/gpu_static_inst.cc
@@ -50,15 +50,4 @@ namespace HsailISA
{
disassembly = opcode;
}
-
- const std::string&
- HsailGPUStaticInst::disassemble()
- {
- if (disassembly.empty()) {
- generateDisassembly();
- assert(!disassembly.empty());
- }
-
- return disassembly;
- }
} // namespace HsailISA
diff --git a/src/arch/hsail/insts/gpu_static_inst.hh b/src/arch/hsail/insts/gpu_static_inst.hh
index 6a5ad5003..5dcfe78d5 100644
--- a/src/arch/hsail/insts/gpu_static_inst.hh
+++ b/src/arch/hsail/insts/gpu_static_inst.hh
@@ -54,7 +54,6 @@ namespace HsailISA
public:
HsailGPUStaticInst(const BrigObject *obj, const std::string &opcode);
void generateDisassembly();
- const std::string &disassemble();
uint32_t instSize() { return 4; }
bool isValid() const override { return true; }