projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56c4ccf
)
Fix respecting of instruction options (misunderstood default action behavior).
author
Eric Anholt
<eric@anholt.net>
Thu, 24 Aug 2006 21:47:21 +0000
(14:47 -0700)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:54:21 +0000
(15:54 +0000)
assembler/gram.y
patch
|
blob
|
history
diff --git
a/assembler/gram.y
b/assembler/gram.y
index
6357044
..
e234fb5
100644
(file)
--- a/
assembler/gram.y
+++ b/
assembler/gram.y
@@
-594,7
+594,10
@@
instoption_list: instoption instoption_list
/* XXX: fill me in. alignctrl, comprctrl, threadctrl, depctrl, maskctrl,
* debugctrl, sendctrl
*/
-instoption: ALIGN1 | ALIGN16 | MASK_DISABLE | EOT
+instoption: ALIGN1 { $$ = ALIGN1; }
+ | ALIGN16 { $$ = ALIGN16; }
+ | MASK_DISABLE { $$ = MASK_DISABLE; }
+ | EOT { $$ = EOT; }
;
%%