Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index 686127460a664d7a8acefe81ecfd4cb8101be920..5ef07489e99bc513853c937d62ad609b6cc59b19 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -2162,6 +2162,20 @@ void Assembler::cvtsd2ss(XMMRegister dst, const Operand& src) { |
emit_sse_operand(dst, src); |
} |
+void Assembler::cvtdq2ps(XMMRegister dst, const Operand& src) { |
+ EnsureSpace ensure_space(this); |
+ EMIT(0x0F); |
+ EMIT(0x5B); |
+ emit_sse_operand(dst, src); |
+} |
+ |
+void Assembler::cvttps2dq(XMMRegister dst, const Operand& src) { |
+ EnsureSpace ensure_space(this); |
+ EMIT(0xF3); |
+ EMIT(0x0F); |
+ EMIT(0x5B); |
+ emit_sse_operand(dst, src); |
+} |
void Assembler::addsd(XMMRegister dst, const Operand& src) { |
EnsureSpace ensure_space(this); |
@@ -2263,6 +2277,20 @@ void Assembler::divps(XMMRegister dst, const Operand& src) { |
emit_sse_operand(dst, src); |
} |
+void Assembler::rcpps(XMMRegister dst, const Operand& src) { |
+ EnsureSpace ensure_space(this); |
+ EMIT(0x0F); |
+ EMIT(0x53); |
+ emit_sse_operand(dst, src); |
+} |
+ |
+void Assembler::rsqrtps(XMMRegister dst, const Operand& src) { |
+ EnsureSpace ensure_space(this); |
+ EMIT(0x0F); |
+ EMIT(0x52); |
+ emit_sse_operand(dst, src); |
+} |
+ |
void Assembler::minps(XMMRegister dst, const Operand& src) { |
EnsureSpace ensure_space(this); |
EMIT(0x0F); |