Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index ea68c5090f9389ed3173a4fa291c4139b3bd4257..f291b05260b141dde99cb81b394529f69ffcc2af 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -2105,6 +2105,16 @@ void Assembler::movmskpd(Register dst, XMMRegister src) { |
} |
+void Assembler::pcmpeqd(XMMRegister dst, XMMRegister src) { |
+ ASSERT(CpuFeatures::IsEnabled(SSE2)); |
+ EnsureSpace ensure_space(this); |
+ EMIT(0x66); |
+ EMIT(0x0F); |
+ EMIT(0x76); |
+ emit_sse_operand(dst, src); |
+} |
+ |
+ |
void Assembler::cmpltsd(XMMRegister dst, XMMRegister src) { |
ASSERT(CpuFeatures::IsEnabled(SSE2)); |
EnsureSpace ensure_space(this); |