Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index 321185a6d7c9a56dc572f00c2ed67efd13072d5d..7eb39f05c33adfc5eae64c80c2decf64160d5fde 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -1384,6 +1384,14 @@ class Assembler : public AssemblerBase { |
void vcvtqsi2sd(XMMRegister dst, XMMRegister src1, const Operand& src2) { |
vsd(0x2a, dst, src1, src2, kF2, k0F, kW1); |
} |
+ void vcvttss2si(Register dst, XMMRegister src) { |
+ XMMRegister idst = {dst.code()}; |
+ vsd(0x2c, idst, xmm0, src, kF3, k0F, kW0); |
+ } |
+ void vcvttss2si(Register dst, const Operand& src) { |
+ XMMRegister idst = {dst.code()}; |
+ vsd(0x2c, idst, xmm0, src, kF3, k0F, kW0); |
+ } |
void vcvttsd2si(Register dst, XMMRegister src) { |
XMMRegister idst = {dst.code()}; |
vsd(0x2c, idst, xmm0, src, kF2, k0F, kW0); |