Index: src/x64/assembler-x64.cc |
=================================================================== |
--- src/x64/assembler-x64.cc (revision 4482) |
+++ src/x64/assembler-x64.cc (working copy) |
@@ -2546,12 +2546,23 @@ |
last_pc_ = pc_; |
emit(0x66); |
emit_optional_rex_32(dst, src); |
- emit(0x0f); |
+ emit(0x0F); |
emit(0x57); |
emit_sse_operand(dst, src); |
} |
+void Assembler::sqrtsd(XMMRegister dst, XMMRegister src) { |
+ EnsureSpace ensure_space(this); |
+ last_pc_ = pc_; |
+ emit(0xF2); |
+ emit_optional_rex_32(dst, src); |
+ emit(0x0F); |
+ emit(0x51); |
+ emit_sse_operand(dst, src); |
+} |
+ |
+ |
void Assembler::comisd(XMMRegister dst, XMMRegister src) { |
EnsureSpace ensure_space(this); |
last_pc_ = pc_; |