freedreno/afuc: Handle xmov modifiers
[mesa.git] / src / freedreno / afuc / lexer.l
index f78446011c2fa9c79e57f442723ffbea211b7815..8c3113d1c16f6f4e569f5b55ba89c98c734faaac 100644 (file)
@@ -78,12 +78,15 @@ extern YYSTYPE yylval;
 "brne"                            return TOKEN(T_OP_BRNE);
 "breq"                            return TOKEN(T_OP_BREQ);
 "ret"                             return TOKEN(T_OP_RET);
+"iret"                            return TOKEN(T_OP_IRET);
 "call"                            return TOKEN(T_OP_CALL);
 "jump"                            return TOKEN(T_OP_JUMP);
 "waitin"                          return TOKEN(T_OP_WAITIN);
 "preemptleave"                   return TOKEN(T_OP_PREEMPTLEAVE);
+"setsecure"                      return TOKEN(T_OP_SETSECURE);
 "<<"                              return TOKEN(T_LSHIFT);
 "(rep)"                           return TOKEN(T_REP);
+"(xmov"[1-3]")"                          yylval.num = yytext[5] - '\0'; return T_XMOV;
 
 ","                               return ',';
 "["                               return '[';