summaryrefslogtreecommitdiff
path: root/src/cuda-sim/instructions.cc
diff options
context:
space:
mode:
authorgpgpu-sim <[email protected]>2016-07-04 17:08:16 -0700
committerGitHub <[email protected]>2016-07-04 17:08:16 -0700
commitc9852bfe00b508644e894c1ebc34d90081d907c5 (patch)
treeb5ce46eecd4299f423f0b1057373af484dbd606c /src/cuda-sim/instructions.cc
parentd90b6ad29a7cb24841841f7c54fcb4c2b1e929eb (diff)
parent2683b8bd7ba9950e0aa174915ef9ff64e0a20421 (diff)
Merge pull request #27 from sspenst/dev
Restored madp instruction
Diffstat (limited to 'src/cuda-sim/instructions.cc')
-rw-r--r--src/cuda-sim/instructions.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cuda-sim/instructions.cc b/src/cuda-sim/instructions.cc
index 02ce01c..7b0f4fa 100644
--- a/src/cuda-sim/instructions.cc
+++ b/src/cuda-sim/instructions.cc
@@ -2496,6 +2496,11 @@ void mad_impl( const ptx_instruction *pI, ptx_thread_info *thread )
mad_def(pI, thread, false);
}
+void madp_impl( const ptx_instruction *pI, ptx_thread_info *thread )
+{
+ mad_def(pI, thread, true);
+}
+
void madc_impl( const ptx_instruction *pI, ptx_thread_info *thread )
{
mad_def(pI, thread, true);