summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsspenst <[email protected]>2016-07-04 09:43:36 -0700
committersspenst <[email protected]>2016-07-04 09:43:36 -0700
commitf7c57e76c086ce417626f37ffc91097c839c687d (patch)
tree4529510cb87350da37ec402ad58ef13e313e7799
parent281798191f9bc37a75592d34a5e38cc5d6c41b6d (diff)
Reverted part of the previous commit so that our new changes related to DNNs can be done in a different branch
-rw-r--r--src/cuda-sim/instructions.cc10
-rw-r--r--src/cuda-sim/opcodes.def2
-rw-r--r--src/cuda-sim/ptx.l2
3 files changed, 0 insertions, 14 deletions
diff --git a/src/cuda-sim/instructions.cc b/src/cuda-sim/instructions.cc
index 922e14a..02ce01c 100644
--- a/src/cuda-sim/instructions.cc
+++ b/src/cuda-sim/instructions.cc
@@ -816,11 +816,6 @@ void add_impl( const ptx_instruction *pI, ptx_thread_info *thread )
void addc_impl( const ptx_instruction *pI, ptx_thread_info *thread ) { inst_not_implemented(pI); }
-void ama_impl( const ptx_instruction *pI, ptx_thread_info *thread )
-{
- printf("AMA instruction found.\n");
-}
-
void and_impl( const ptx_instruction *pI, ptx_thread_info *thread )
{
ptx_reg_t src1_data, src2_data, data;
@@ -3703,11 +3698,6 @@ void slct_impl( const ptx_instruction *pI, ptx_thread_info *thread )
thread->set_operand_value(dst,d, i_type, thread, pI);
}
-void spr_impl( const ptx_instruction *pI, ptx_thread_info *thread )
-{
- printf("SPR instruction found.\n");
-}
-
void sqrt_impl( const ptx_instruction *pI, ptx_thread_info *thread )
{
ptx_reg_t a, d;
diff --git a/src/cuda-sim/opcodes.def b/src/cuda-sim/opcodes.def
index 33ee0ca..874acc7 100644
--- a/src/cuda-sim/opcodes.def
+++ b/src/cuda-sim/opcodes.def
@@ -41,7 +41,6 @@ OP_DEF(ABS_OP,abs_impl,"abs",1,1)
OP_DEF(ADD_OP,add_impl,"add",1,1)
OP_DEF(ADDP_OP,addp_impl,"addp",1,1)
OP_DEF(ADDC_OP,addc_impl,"addc",1,1)
-OP_DEF(AMA_OP,ama_impl,"ama",1,2)
OP_DEF(AND_OP,and_impl,"and",1,1)
OP_DEF(ANDN_OP,andn_impl,"andn",1,1)
OP_DEF(ATOM_OP,atom_impl,"atom",1,3)
@@ -102,7 +101,6 @@ OP_DEF(SHL_OP,shl_impl,"shl",1,1)
OP_DEF(SHR_OP,shr_impl,"shr",1,1)
OP_DEF(SIN_OP,sin_impl,"sin",1,4)
OP_DEF(SLCT_OP,slct_impl,"slct",1,1)
-OP_DEF(SPR_OP,spr_impl,"spr",1,1)
OP_DEF(SQRT_OP,sqrt_impl,"sqrt",1,4)
OP_DEF(SSY_OP,ssy_impl,"ssy",0,3)
OP_DEF(ST_OP,st_impl,"st",0,5)
diff --git a/src/cuda-sim/ptx.l b/src/cuda-sim/ptx.l
index 026270a..b8ce497 100644
--- a/src/cuda-sim/ptx.l
+++ b/src/cuda-sim/ptx.l
@@ -145,8 +145,6 @@ xor TC; ptx_lval.int_value = XOR_OP; return OPCODE;
nop TC; ptx_lval.int_value = NOP_OP; return OPCODE;
break TC; ptx_lval.int_value = BREAK_OP; return OPCODE;
breakaddr TC; ptx_lval.int_value = BREAKADDR_OP; return OPCODE;
-spr TC; ptx_lval.int_value = SPR_OP; return OPCODE;
-ama TC; ptx_lval.int_value = AMA_OP; return OPCODE;
<INITIAL,NOT_OPCODE,IN_INST,IN_FUNC_DECL>{