OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ | 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ | 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/base/flags.h" | 10 #include "src/base/flags.h" |
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 // hinders register renaming and makes dependence chains longer. So we use | 816 // hinders register renaming and makes dependence chains longer. So we use |
817 // xorpd to clear the dst register before cvtsi2sd to solve this issue. | 817 // xorpd to clear the dst register before cvtsi2sd to solve this issue. |
818 void Cvtlsi2sd(XMMRegister dst, Register src); | 818 void Cvtlsi2sd(XMMRegister dst, Register src); |
819 void Cvtlsi2sd(XMMRegister dst, const Operand& src); | 819 void Cvtlsi2sd(XMMRegister dst, const Operand& src); |
820 | 820 |
821 void Cvtqsi2ss(XMMRegister dst, Register src); | 821 void Cvtqsi2ss(XMMRegister dst, Register src); |
822 void Cvtqsi2ss(XMMRegister dst, const Operand& src); | 822 void Cvtqsi2ss(XMMRegister dst, const Operand& src); |
823 | 823 |
824 void Cvtqsi2sd(XMMRegister dst, Register src); | 824 void Cvtqsi2sd(XMMRegister dst, Register src); |
825 void Cvtqsi2sd(XMMRegister dst, const Operand& src); | 825 void Cvtqsi2sd(XMMRegister dst, const Operand& src); |
| 826 |
| 827 void Cvtqui2ss(XMMRegister dst, Register src, Register tmp); |
826 void Cvtqui2sd(XMMRegister dst, Register src, Register tmp); | 828 void Cvtqui2sd(XMMRegister dst, Register src, Register tmp); |
827 | 829 |
828 void Cvtsd2si(Register dst, XMMRegister src); | 830 void Cvtsd2si(Register dst, XMMRegister src); |
829 | 831 |
830 void Cvttsd2si(Register dst, XMMRegister src); | 832 void Cvttsd2si(Register dst, XMMRegister src); |
831 void Cvttsd2si(Register dst, const Operand& src); | 833 void Cvttsd2si(Register dst, const Operand& src); |
832 void Cvttsd2siq(Register dst, XMMRegister src); | 834 void Cvttsd2siq(Register dst, XMMRegister src); |
833 void Cvttsd2siq(Register dst, const Operand& src); | 835 void Cvttsd2siq(Register dst, const Operand& src); |
834 | 836 |
835 // Move if the registers are not identical. | 837 // Move if the registers are not identical. |
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1731 } \ | 1733 } \ |
1732 masm-> | 1734 masm-> |
1733 #else | 1735 #else |
1734 #define ACCESS_MASM(masm) masm-> | 1736 #define ACCESS_MASM(masm) masm-> |
1735 #endif | 1737 #endif |
1736 | 1738 |
1737 } // namespace internal | 1739 } // namespace internal |
1738 } // namespace v8 | 1740 } // namespace v8 |
1739 | 1741 |
1740 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1742 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |