From d864c51b9fee6b2808e4752a556d6de4ba376b7c Mon Sep 17 00:00:00 2001 From: Jimmy Kwa Date: Tue, 21 Dec 2010 10:30:12 -0800 Subject: added support for negative .f64 operands in decuda_to_ptxplus [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8289] --- src/cuda-sim/ptx.y | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cuda-sim') diff --git a/src/cuda-sim/ptx.y b/src/cuda-sim/ptx.y index a9cd744..f7d8a7b 100644 --- a/src/cuda-sim/ptx.y +++ b/src/cuda-sim/ptx.y @@ -505,6 +505,7 @@ operand: IDENTIFIER { add_scalar_operand( $1 ); } | literal_operand | builtin_operand | vector_operand + | MINUS vector_operand { change_operand_neg(); } | tex_operand | IDENTIFIER PLUS INT_OPERAND { add_address_operand($1,$3); } | IDENTIFIER LO_OPTION { add_scalar_operand( $1 ); change_operand_lohi(1);} -- cgit v1.3