diff options
| author | Wilson Fung <[email protected]> | 2012-07-05 07:33:54 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:47:33 -0700 |
| commit | 6f99ffb9b171495df7ef0725f8a8cbffb8d9591c (patch) | |
| tree | 2915c2e1da7dbac024fcb5da6f845f6d47092629 /src/cuda-sim/ptx.l | |
| parent | 3d2d74e5e876e10c207756fa9b3b7508a6a92f8a (diff) | |
Adding the madp instruction, which does multiply add with carry-in. Still need to modify carry and overflow flags.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13317]
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 648de30..4747181 100644 --- a/src/cuda-sim/ptx.l +++ b/src/cuda-sim/ptx.l @@ -84,6 +84,7 @@ ldu TC; ptx_lval.int_value = LDU_OP; return OPCODE; lg2 TC; ptx_lval.int_value = LG2_OP; return OPCODE; mad24 TC; ptx_lval.int_value = MAD24_OP; return OPCODE; mad TC; ptx_lval.int_value = MAD_OP; return OPCODE; +madp TC; ptx_lval.int_value = MADP_OP; return OPCODE; max TC; ptx_lval.int_value = MAX_OP; return OPCODE; membar TC; ptx_lval.int_value = MEMBAR_OP; return OPCODE; min TC; ptx_lval.int_value = MIN_OP; return OPCODE; |
