Index: src/ia32/assembler-ia32.cc |
=================================================================== |
--- src/ia32/assembler-ia32.cc (revision 4104) |
+++ src/ia32/assembler-ia32.cc (working copy) |
@@ -2148,6 +2148,17 @@ |
} |
+void Assembler::movmskpd(Register dst, XMMRegister src) { |
+ ASSERT(CpuFeatures::IsEnabled(SSE2)); |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ EMIT(0x66); |
+ EMIT(0x0F); |
+ EMIT(0x50); |
+ emit_sse_operand(dst, src); |
+} |
+ |
+ |
void Assembler::movdqa(const Operand& dst, XMMRegister src ) { |
ASSERT(CpuFeatures::IsEnabled(SSE2)); |
EnsureSpace ensure_space(this); |
@@ -2283,6 +2294,11 @@ |
} |
+void Assembler::emit_sse_operand(Register dst, XMMRegister src) { |
+ EMIT(0xC0 | dst.code() << 3 | src.code()); |
+} |
+ |
+ |
void Assembler::Print() { |
Disassembler::Decode(stdout, buffer_, pc_); |
} |