aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/tools')
-rw-r--r--src/intel/tools/i965_gram.y10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/intel/tools/i965_gram.y b/src/intel/tools/i965_gram.y
index ee2a1446694..0ac6d50c16a 100644
--- a/src/intel/tools/i965_gram.y
+++ b/src/intel/tools/i965_gram.y
@@ -616,6 +616,7 @@ instruction:
| syncinstruction
| ternaryinstruction
| sendinstruction
+ | illegalinstruction
;
relocatableinstruction:
@@ -625,6 +626,15 @@ relocatableinstruction:
| loopinstruction
;
+illegalinstruction:
+ ILLEGAL execsize instoptions
+ {
+ brw_next_insn(p, $1);
+ brw_inst_set_exec_size(p->devinfo, brw_last_inst, $2);
+ i965_asm_set_instruction_options(p, $3);
+ }
+ ;
+
/* Unary instruction */
unaryinstruction:
predicate unaryopcodes saturate cond_mod execsize dst srcaccimm instoptions