projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
freedreno/afuc: Handle xmov modifiers
[mesa.git]
/
src
/
freedreno
/
afuc
/
parser.y
diff --git
a/src/freedreno/afuc/parser.y
b/src/freedreno/afuc/parser.y
index 657524a1f6ccfa54f301b8f36be3063b259f3060..5a8164e59fe224f51b8a0beb4293694cc2f50aeb 100644
(file)
--- a/
src/freedreno/afuc/parser.y
+++ b/
src/freedreno/afuc/parser.y
@@
-161,6
+161,7
@@
label(const char *str)
%token <tok> T_OP_SETSECURE
%token <tok> T_LSHIFT
%token <tok> T_REP
%token <tok> T_OP_SETSECURE
%token <tok> T_LSHIFT
%token <tok> T_REP
+%token <num> T_XMOV
%type <num> reg
%type <num> immediate
%type <num> reg
%type <num> immediate
@@
-182,6
+183,7
@@
instr_or_label: instr_r
/* instructions that can optionally have (rep) flag: */
instr_r: alu_instr
/* instructions that can optionally have (rep) flag: */
instr_r: alu_instr
+| T_XMOV alu_instr { instr->xmov = $1; }
| config_instr
/* need to special case:
| config_instr
/* need to special case: