Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index a0e8ad20df68fbe60b0036ccf533d0aa6c5c1209..b55f6f17b44349af53735a94850d0fd08e1163e7 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -2341,33 +2341,6 @@ void Assembler::movmskps(Register dst, XMMRegister src) { |
} |
-void Assembler::pcmpeqd(XMMRegister dst, XMMRegister src) { |
- EnsureSpace ensure_space(this); |
- EMIT(0x66); |
- EMIT(0x0F); |
- EMIT(0x76); |
- emit_sse_operand(dst, src); |
-} |
- |
- |
-void Assembler::punpckldq(XMMRegister dst, XMMRegister src) { |
- EnsureSpace ensure_space(this); |
- EMIT(0x66); |
- EMIT(0x0F); |
- EMIT(0x62); |
- emit_sse_operand(dst, src); |
-} |
- |
- |
-void Assembler::punpckhdq(XMMRegister dst, XMMRegister src) { |
- EnsureSpace ensure_space(this); |
- EMIT(0x66); |
- EMIT(0x0F); |
- EMIT(0x6A); |
- emit_sse_operand(dst, src); |
-} |
- |
- |
void Assembler::maxsd(XMMRegister dst, const Operand& src) { |
EnsureSpace ensure_space(this); |
EMIT(0xF2); |
@@ -2548,33 +2521,6 @@ void Assembler::extractps(Register dst, XMMRegister src, byte imm8) { |
} |
-void Assembler::pand(XMMRegister dst, XMMRegister src) { |
- EnsureSpace ensure_space(this); |
- EMIT(0x66); |
- EMIT(0x0F); |
- EMIT(0xDB); |
- emit_sse_operand(dst, src); |
-} |
- |
- |
-void Assembler::pxor(XMMRegister dst, XMMRegister src) { |
- EnsureSpace ensure_space(this); |
- EMIT(0x66); |
- EMIT(0x0F); |
- EMIT(0xEF); |
- emit_sse_operand(dst, src); |
-} |
- |
- |
-void Assembler::por(XMMRegister dst, XMMRegister src) { |
- EnsureSpace ensure_space(this); |
- EMIT(0x66); |
- EMIT(0x0F); |
- EMIT(0xEB); |
- emit_sse_operand(dst, src); |
-} |
- |
- |
void Assembler::ptest(XMMRegister dst, XMMRegister src) { |
DCHECK(IsEnabled(SSE4_1)); |
EnsureSpace ensure_space(this); |
@@ -2888,6 +2834,17 @@ void Assembler::sse2_instr(XMMRegister dst, const Operand& src, byte prefix, |
emit_sse_operand(dst, src); |
} |
+void Assembler::sse4_instr(XMMRegister dst, const Operand& src, byte prefix, |
+ byte escape1, byte escape2, byte opcode) { |
+ DCHECK(IsEnabled(SSE4_1)); |
+ EnsureSpace ensure_space(this); |
+ EMIT(prefix); |
+ EMIT(escape1); |
+ EMIT(escape2); |
+ EMIT(opcode); |
+ emit_sse_operand(dst, src); |
+} |
+ |
void Assembler::vinstr(byte op, XMMRegister dst, XMMRegister src1, |
const Operand& src2, SIMDPrefix pp, LeadingOpcode m, |
VexW w) { |