From 0ce06988a6a13f9a8f48f2230b1b9727ee86081e Mon Sep 17 00:00:00 2001 From: Ahmed El-Shafiey Date: Tue, 14 Aug 2012 13:53:25 -0800 Subject: Fixing bugs 169, 170, 171 [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13761] --- src/cuda-sim/ptx.y | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cuda-sim/ptx.y') diff --git a/src/cuda-sim/ptx.y b/src/cuda-sim/ptx.y index 8b65796..2c01a70 100644 --- a/src/cuda-sim/ptx.y +++ b/src/cuda-sim/ptx.y @@ -527,6 +527,7 @@ address_expression: IDENTIFIER { add_address_operand($1,0); } | IDENTIFIER LO_OPTION { add_address_operand($1,0); change_operand_lohi(1);} | IDENTIFIER HI_OPTION { add_address_operand($1,0); change_operand_lohi(2); } | IDENTIFIER PLUS INT_OPERAND { add_address_operand($1,$3); } + | INT_OPERAND { add_address_operand2($1); } ; %% -- cgit v1.3