diff options
| author | Jin Wang <[email protected]> | 2014-10-03 19:08:39 -0400 |
|---|---|---|
| committer | Jin Wang <[email protected]> | 2016-07-05 08:59:56 -0400 |
| commit | db5fe9600dd57ce59864b0f22c9d5407231ab5b1 (patch) | |
| tree | 7b6c73945a9254cd38a86655ca54059fb17e05b0 /src/cuda-sim/ptx.y | |
| parent | 5cc6392a98bf736a05ffa7c7c557c4556753c8c2 (diff) | |
ADD: initial support for instruction group used by CDP
Diffstat (limited to 'src/cuda-sim/ptx.y')
| -rw-r--r-- | src/cuda-sim/ptx.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cuda-sim/ptx.y b/src/cuda-sim/ptx.y index 2f85213..c8208ea 100644 --- a/src/cuda-sim/ptx.y +++ b/src/cuda-sim/ptx.y @@ -270,8 +270,8 @@ statement_list: directive_statement { add_directive(); } | instruction_statement { add_instruction(); } | statement_list directive_statement { add_directive(); } | statement_list instruction_statement { add_instruction(); } - | statement_list statement_block - | statement_block + | statement_list {start_inst_group();} statement_block {end_inst_group();} + | {start_inst_group();} statement_block {end_inst_group();} ; directive_statement: variable_declaration SEMI_COLON |
