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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
897 DCHECK(value->IsHeapObject()); | 897 DCHECK(value->IsHeapObject()); |
898 DCHECK(!isolate()->heap()->InNewSpace(*value)); | 898 DCHECK(!isolate()->heap()->InNewSpace(*value)); |
899 movp(dst, reinterpret_cast<void*>(value.location()), rmode); | 899 movp(dst, reinterpret_cast<void*>(value.location()), rmode); |
900 } | 900 } |
901 | 901 |
902 void Move(XMMRegister dst, uint32_t src); | 902 void Move(XMMRegister dst, uint32_t src); |
903 void Move(XMMRegister dst, uint64_t src); | 903 void Move(XMMRegister dst, uint64_t src); |
904 void Move(XMMRegister dst, float src) { Move(dst, bit_cast<uint32_t>(src)); } | 904 void Move(XMMRegister dst, float src) { Move(dst, bit_cast<uint32_t>(src)); } |
905 void Move(XMMRegister dst, double src) { Move(dst, bit_cast<uint64_t>(src)); } | 905 void Move(XMMRegister dst, double src) { Move(dst, bit_cast<uint64_t>(src)); } |
906 | 906 |
907 void Movapd(XMMRegister dst, XMMRegister src); | |
908 void Movsd(XMMRegister dst, XMMRegister src); | 907 void Movsd(XMMRegister dst, XMMRegister src); |
909 void Movsd(XMMRegister dst, const Operand& src); | 908 void Movsd(XMMRegister dst, const Operand& src); |
910 void Movsd(const Operand& dst, XMMRegister src); | 909 void Movsd(const Operand& dst, XMMRegister src); |
| 910 void Movss(XMMRegister dst, XMMRegister src); |
911 void Movss(XMMRegister dst, const Operand& src); | 911 void Movss(XMMRegister dst, const Operand& src); |
912 void Movss(const Operand& dst, XMMRegister src); | 912 void Movss(const Operand& dst, XMMRegister src); |
913 | 913 |
914 void Movd(XMMRegister dst, Register src); | 914 void Movd(XMMRegister dst, Register src); |
915 void Movd(XMMRegister dst, const Operand& src); | 915 void Movd(XMMRegister dst, const Operand& src); |
916 void Movd(Register dst, XMMRegister src); | 916 void Movd(Register dst, XMMRegister src); |
917 void Movq(XMMRegister dst, Register src); | 917 void Movq(XMMRegister dst, Register src); |
918 void Movq(Register dst, XMMRegister src); | 918 void Movq(Register dst, XMMRegister src); |
919 | 919 |
| 920 void Movaps(XMMRegister dst, XMMRegister src); |
| 921 void Movapd(XMMRegister dst, XMMRegister src); |
920 void Movmskpd(Register dst, XMMRegister src); | 922 void Movmskpd(Register dst, XMMRegister src); |
921 | 923 |
922 void Ucomiss(XMMRegister src1, XMMRegister src2); | 924 void Ucomiss(XMMRegister src1, XMMRegister src2); |
923 void Ucomiss(XMMRegister src1, const Operand& src2); | 925 void Ucomiss(XMMRegister src1, const Operand& src2); |
924 void Ucomisd(XMMRegister src1, XMMRegister src2); | 926 void Ucomisd(XMMRegister src1, XMMRegister src2); |
925 void Ucomisd(XMMRegister src1, const Operand& src2); | 927 void Ucomisd(XMMRegister src1, const Operand& src2); |
926 | 928 |
927 void Xorpd(XMMRegister dst, XMMRegister src); | 929 void Xorpd(XMMRegister dst, XMMRegister src); |
928 | 930 |
929 // Control Flow | 931 // Control Flow |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1675 } \ | 1677 } \ |
1676 masm-> | 1678 masm-> |
1677 #else | 1679 #else |
1678 #define ACCESS_MASM(masm) masm-> | 1680 #define ACCESS_MASM(masm) masm-> |
1679 #endif | 1681 #endif |
1680 | 1682 |
1681 } // namespace internal | 1683 } // namespace internal |
1682 } // namespace v8 | 1684 } // namespace v8 |
1683 | 1685 |
1684 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1686 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |