summaryrefslogtreecommitdiff
path: root/src/gpu-compute/gpu_static_inst.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu-compute/gpu_static_inst.cc')
-rw-r--r--src/gpu-compute/gpu_static_inst.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpu-compute/gpu_static_inst.cc b/src/gpu-compute/gpu_static_inst.cc
index 83b429e62..0f74bd532 100644
--- a/src/gpu-compute/gpu_static_inst.cc
+++ b/src/gpu-compute/gpu_static_inst.cc
@@ -36,10 +36,12 @@
#include "gpu-compute/gpu_static_inst.hh"
GPUStaticInst::GPUStaticInst(const std::string &opcode)
- : o_type(Enums::OT_ALU), executed_as(Enums::SC_NONE), opcode(opcode),
- _instNum(0), _scalarOp(false)
+ : executed_as(Enums::SC_NONE), opcode(opcode),
+ _instNum(0)
{
+ setFlag(NoOrder);
}
+
const std::string&
GPUStaticInst::disassemble()
{