Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
case BRW_OPCODE_PLN:
brw_PLN(p, dest, src0, src1);
break;
+ case BRW_OPCODE_ROL:
+ brw_ROL(p, dest, src0, src1);
+ break;
+ case BRW_OPCODE_ROR:
+ brw_ROR(p, dest, src0, src1);
+ break;
case BRW_OPCODE_SAD2:
fprintf(stderr, "Opcode BRW_OPCODE_SAD2 unhandled\n");
break;
| MACH
| MUL
| PLN
+ | ROL
+ | ROR
| SAD2
| SADA2
| SUBB
rnde { yylval.integer = BRW_OPCODE_RNDE; return RNDE; }
rndu { yylval.integer = BRW_OPCODE_RNDU; return RNDU; }
rndz { yylval.integer = BRW_OPCODE_RNDZ; return RNDZ; }
+rol { yylval.integer = BRW_OPCODE_ROL; return ROL; }
+ror { yylval.integer = BRW_OPCODE_ROR; return ROR; }
sad2 { yylval.integer = BRW_OPCODE_SAD2; return SAD2; }
sada2 { yylval.integer = BRW_OPCODE_SADA2; return SADA2; }
sel { yylval.integer = BRW_OPCODE_SEL; return SEL; }