diff options
| author | Andrew M. B. Boktor <[email protected]> | 2012-05-02 18:47:44 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:19:06 -0700 |
| commit | 710a0b7c3ac97324f0306f4df410c20967319508 (patch) | |
| tree | f48914fc76f0123dffbe579cb66e8af0cd66fb4e /src/cuda-sim/ptx.l | |
| parent | 1a87b8b9b72e49b672b01312280a273f38430c31 (diff) | |
Adding support in the simulator for addition with carry specified in a given predicate register (calling it addp)
Adding support in cuobjdump_to_ptxplus for IADD.CARRY* which translates to the above
Now power benchmarks should work
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12266]
Diffstat (limited to 'src/cuda-sim/ptx.l')
| -rw-r--r-- | src/cuda-sim/ptx.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx.l b/src/cuda-sim/ptx.l index 8c330fc..1d50a8d 100644 --- a/src/cuda-sim/ptx.l +++ b/src/cuda-sim/ptx.l @@ -53,6 +53,7 @@ int ptx_error( const char *s ); abs TC; ptx_lval.int_value = ABS_OP; return OPCODE; add TC; ptx_lval.int_value = ADD_OP; return OPCODE; +addp TC; ptx_lval.int_value = ADDP_OP; return OPCODE; addc TC; ptx_lval.int_value = ADDC_OP; return OPCODE; and TC; ptx_lval.int_value = AND_OP; return OPCODE; andn TC; ptx_lval.int_value = ANDN_OP; return OPCODE; |
