Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index f120a6233e205f69b0d599591a5f1c0ca762f788..a846c934508ac624c708b19583716a0d2c162c43 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -2000,6 +2000,15 @@ void Assembler::cvtsd2si(Register dst, XMMRegister src) { |
} |
+void Assembler::cvtsi2ss(XMMRegister dst, const Operand& src) { |
+ EnsureSpace ensure_space(this); |
+ EMIT(0xF3); |
+ EMIT(0x0F); |
+ EMIT(0x2A); |
+ emit_sse_operand(dst, src); |
+} |
+ |
+ |
void Assembler::cvtsi2sd(XMMRegister dst, const Operand& src) { |
EnsureSpace ensure_space(this); |
EMIT(0xF2); |