summaryrefslogtreecommitdiff
path: root/src/cuda-sim/instructions.cc
diff options
context:
space:
mode:
authorAamir Raihan <[email protected]>2018-06-08 13:56:54 -0700
committerAamir Raihan <[email protected]>2018-06-08 13:56:54 -0700
commit774e28201d239433357db4cbd00c0a62273773cc (patch)
tree2b5a8f5cc1108009c4f8edcb1fc09232773c31ae /src/cuda-sim/instructions.cc
parent3e167c76f73822f6ff044d4ecd769aab6e199be1 (diff)
regression passed
Diffstat (limited to 'src/cuda-sim/instructions.cc')
-rw-r--r--src/cuda-sim/instructions.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/cuda-sim/instructions.cc b/src/cuda-sim/instructions.cc
index 59415f4..92c8529 100644
--- a/src/cuda-sim/instructions.cc
+++ b/src/cuda-sim/instructions.cc
@@ -835,17 +835,6 @@ void add_impl( const ptx_instruction *pI, ptx_thread_info *thread )
unsigned i_type = pI->get_type();
src1_data = thread->get_operand_value(src1, dst, i_type, thread, 1);
src2_data = thread->get_operand_value(src2, dst, i_type, thread, 1);
- //unsigned warpId_aa,warp_size_aa;
- //warpId_aa = pI->warp_id();
- //warp_size_aa=32;
- //dim3 t=thread->get_tid();
- //unsigned tid_aa=warp_size_aa*warpId_aa;
-
- ptx_thread_info *thread2;
- thread2=thread;
- src1_data = thread2->get_operand_value(src1, dst, i_type, thread2, 1);
- src2_data = thread2->get_operand_value(src2, dst, i_type, thread2, 1);
-
unsigned rounding_mode = pI->rounding_mode();
int orig_rm = fegetround();