summaryrefslogtreecommitdiff
path: root/src/cuda-sim/instructions.cc
diff options
context:
space:
mode:
authorsspenst <[email protected]>2016-08-24 15:30:16 -0700
committersspenst <[email protected]>2016-08-24 15:30:16 -0700
commitbffac032402b35acb81200540f6f808bd6f851d8 (patch)
treea4ee4793f2a862085cc1d3b30646b0332315d806 /src/cuda-sim/instructions.cc
parent68336f112117bcef5b943650819a6764e9ebf4ce (diff)
Cleanup
Diffstat (limited to 'src/cuda-sim/instructions.cc')
-rw-r--r--src/cuda-sim/instructions.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cuda-sim/instructions.cc b/src/cuda-sim/instructions.cc
index 05ba78f..4c9392b 100644
--- a/src/cuda-sim/instructions.cc
+++ b/src/cuda-sim/instructions.cc
@@ -3567,14 +3567,6 @@ void shfl_impl( const ptx_instruction *pI, core_t *core, warp_inst_t inst )
if (!p) src_idx = lane;
// copy input from lane src_idx
ptx_reg_t data;
- /*if (inst.active(src_idx) && i_type == PRED_TYPE) {
- ptx_thread_info *source = core->get_thread_info()[tid + src_idx];
- data = source->get_operand_value(src1, dst, i_type, source, 1);
- data.pred = p;
- } else {
- printf("GPGPU-Sim PTX: WARNING: shfl input value unpredictable for inactive/predicated-off threads in a warp\n");
- data.u32 = 0;
- }*/
if (inst.active(src_idx)) {
ptx_thread_info *source = core->get_thread_info()[tid + src_idx];
data = source->get_operand_value(src1, dst, i_type, source, 1);