summaryrefslogtreecommitdiff
path: root/src/cuda-sim/instructions.cc
diff options
context:
space:
mode:
authorspeverel <[email protected]>2016-07-04 15:07:50 -0700
committerspeverel <[email protected]>2016-07-04 15:07:50 -0700
commit2683b8bd7ba9950e0aa174915ef9ff64e0a20421 (patch)
treee4983835d2e5953f49d3a88eb811badb72ac6bc6 /src/cuda-sim/instructions.cc
parentf7c57e76c086ce417626f37ffc91097c839c687d (diff)
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);