From 9af6f86d0f06c2ca1b117d358009b91a646b0e83 Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Fri, 2 Nov 2012 04:00:26 -0800 Subject: Fixed the timing model for LDU instruction, before it was not recognized as a memory instruction in the timing model. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14538] --- src/cuda-sim/ptx_ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cuda-sim/ptx_ir.h') diff --git a/src/cuda-sim/ptx_ir.h b/src/cuda-sim/ptx_ir.h index 09c9ade..ffd0c58 100644 --- a/src/cuda-sim/ptx_ir.h +++ b/src/cuda-sim/ptx_ir.h @@ -922,7 +922,7 @@ public: int membar_level() const { return m_membar_level; } bool has_memory_read() const { - if( m_opcode == LD_OP || m_opcode == TEX_OP ) + if( m_opcode == LD_OP || m_opcode == LDU_OP || m_opcode == TEX_OP ) return true; // Check PTXPlus operand type below // Source operands are memory operands -- cgit v1.3