Index: src/ia32/assembler-ia32.h |
diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h |
index 44c1f50a872b487cbaec6d4bc49d4ea45e105882..6fd334723fcf97d4ccd3ea2ed7f314d076c7418a 100644 |
--- a/src/ia32/assembler-ia32.h |
+++ b/src/ia32/assembler-ia32.h |
@@ -1061,8 +1061,12 @@ class Assembler : public AssemblerBase { |
void ptest(XMMRegister dst, XMMRegister src); |
+ void psllw(XMMRegister reg, int8_t shift); |
void pslld(XMMRegister reg, int8_t shift); |
+ void psrlw(XMMRegister reg, int8_t shift); |
void psrld(XMMRegister reg, int8_t shift); |
+ void psraw(XMMRegister reg, int8_t shift); |
+ void psrad(XMMRegister reg, int8_t shift); |
void psllq(XMMRegister reg, int8_t shift); |
void psllq(XMMRegister dst, XMMRegister src); |
void psrlq(XMMRegister reg, int8_t shift); |
@@ -1306,6 +1310,13 @@ class Assembler : public AssemblerBase { |
} |
void vss(byte op, XMMRegister dst, XMMRegister src1, const Operand& src2); |
+ void vpsllw(XMMRegister dst, XMMRegister src, int8_t imm8); |
+ void vpslld(XMMRegister dst, XMMRegister src, int8_t imm8); |
+ void vpsrlw(XMMRegister dst, XMMRegister src, int8_t imm8); |
+ void vpsrld(XMMRegister dst, XMMRegister src, int8_t imm8); |
+ void vpsraw(XMMRegister dst, XMMRegister src, int8_t imm8); |
+ void vpsrad(XMMRegister dst, XMMRegister src, int8_t imm8); |
+ |
// BMI instruction |
void andn(Register dst, Register src1, Register src2) { |
andn(dst, src1, Operand(src2)); |