Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index 551a7c16f2ed53d301a6ae0924b51fe8a0f8569c..68ce77e4069fe7e28247dad6e5d41af67abdd57c 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -1311,6 +1311,13 @@ class Assembler : public AssemblerBase { |
void vminsd(XMMRegister dst, XMMRegister src1, const Operand& src2) { |
vsd(0x5d, dst, src1, src2); |
} |
+ void vcvtlsi2sd(XMMRegister dst, XMMRegister src1, Register src2) { |
+ XMMRegister isrc2 = {src2.code()}; |
+ vsd(0x2a, dst, src1, isrc2); |
+ } |
+ void vcvtlsi2sd(XMMRegister dst, XMMRegister src1, const Operand& src2) { |
+ vsd(0x2a, dst, src1, src2); |
+ } |
void vucomisd(XMMRegister dst, XMMRegister src); |
void vucomisd(XMMRegister dst, const Operand& src); |
void vsd(byte op, XMMRegister dst, XMMRegister src1, XMMRegister src2); |