diff options
| author | Tor Aamodt <[email protected]> | 2010-07-16 12:47:47 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-07-16 12:47:47 -0800 |
| commit | 748a2d560b0032049e12ec57e8000941ff3e589a (patch) | |
| tree | f0c5e7d13321bdf76577255fb322b6586e87a7f5 /src/cuda-sim/opcodes.def | |
| parent | 93a64be21eb3746de0b96a2f2a365f59cd8f1bbc (diff) | |
- BlackScholes passing on CUDA 3.1
- Added fma operation by simply calling mad, however in reality fma is supposed to
be more accurate than mad. For now, properly emulating fma (to get the extra
precision) isn't a priority.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6839]
Diffstat (limited to 'src/cuda-sim/opcodes.def')
| -rw-r--r-- | src/cuda-sim/opcodes.def | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cuda-sim/opcodes.def b/src/cuda-sim/opcodes.def index ba6657f..5a34cff 100644 --- a/src/cuda-sim/opcodes.def +++ b/src/cuda-sim/opcodes.def @@ -72,10 +72,12 @@ Tex 6 */ OP_DEF(ABS_OP,abs_impl,"abs",1,1) OP_DEF(ADD_OP,add_impl,"add",1,1) +OP_DEF(ADDC_OP,addc_impl,"addc",1,1) OP_DEF(AND_OP,and_impl,"and",1,1) OP_DEF(ATOM_OP,atom_impl,"atom",0,3) OP_DEF(BAR_OP,bar_sync_impl,"bar.sync",1,3) OP_DEF(BRA_OP,bra_impl,"bra",0,3) +OP_DEF(BRKPT_OP,brkpt_impl,"brkpt",1,9) OP_DEF(CALL_OP,call_impl,"call",1,3) /*call may actually return an value if the syntax is call (ret-param),fname,(param-list)*/ OP_DEF(CNOT_OP,cnot_impl,"cnot",1,1) OP_DEF(COS_OP,cos_impl,"cos",1,4) @@ -83,11 +85,13 @@ OP_DEF(CVT_OP,cvt_impl,"cvt",1,1) OP_DEF(DIV_OP,div_impl,"div",1,1) OP_DEF(EX2_OP,ex2_impl,"ex2",1,4) OP_DEF(EXIT_OP,exit_impl,"exit",1,3) +OP_DEF(FMA_OP,fma_impl,"fma",1,2) OP_DEF(LD_OP,ld_impl,"ld",1,5) OP_DEF(LG2_OP,lg2_impl,"lg2",1,4) OP_DEF(MAD24_OP,mad24_impl,"mad24",1,2) OP_DEF(MAD_OP,mad_impl,"mad",1,2) OP_DEF(MAX_OP,max_impl,"max",1,1) +OP_DEF(MEMBAR_OP,membar_impl,"membar",1,3) OP_DEF(MIN_OP,min_impl,"min",1,1) OP_DEF(MOV_OP,mov_impl,"mov",1,1) OP_DEF(MUL24_OP,mul24_impl,"mul24",1,1) @@ -96,6 +100,7 @@ OP_DEF(NEG_OP,neg_impl,"neg",1,1) OP_DEF(NOT_OP,not_impl,"not",1,1) OP_DEF(OR_OP,or_impl,"or",1,1) OP_DEF(RCP_OP,rcp_impl,"rcp",1,4) +OP_DEF(RED_OP,red_impl,"red",1,7) OP_DEF(REM_OP,rem_impl,"rem",1,1) OP_DEF(RET_OP,ret_impl,"ret",0,3) OP_DEF(RSQRT_OP,rsqrt_impl,"rsqrt",1,4) @@ -114,7 +119,3 @@ OP_DEF(TEX_OP,tex_impl,"tex",1,6) OP_DEF(TRAP_OP,trap_impl,"trap",1,3) OP_DEF(VOTE_OP,vote_impl,"vote",0,3) OP_DEF(XOR_OP,xor_impl,"xor",1,1) -OP_DEF(MEMBAR_OP,membar_impl,"membar",1,3) -OP_DEF(RED_OP,red_impl,"red",1,7) -OP_DEF(ADDC_OP,addc_impl,"addc",1,1) -OP_DEF(BRKPT_OP,brkpt_impl,"brkpt",1,9) |
