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 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 DCHECK(value->IsHeapObject()); | 887 DCHECK(value->IsHeapObject()); |
888 DCHECK(!isolate()->heap()->InNewSpace(*value)); | 888 DCHECK(!isolate()->heap()->InNewSpace(*value)); |
889 movp(dst, reinterpret_cast<void*>(value.location()), rmode); | 889 movp(dst, reinterpret_cast<void*>(value.location()), rmode); |
890 } | 890 } |
891 | 891 |
892 void Move(XMMRegister dst, uint32_t src); | 892 void Move(XMMRegister dst, uint32_t src); |
893 void Move(XMMRegister dst, uint64_t src); | 893 void Move(XMMRegister dst, uint64_t src); |
894 void Move(XMMRegister dst, float src) { Move(dst, bit_cast<uint32_t>(src)); } | 894 void Move(XMMRegister dst, float src) { Move(dst, bit_cast<uint32_t>(src)); } |
895 void Move(XMMRegister dst, double src) { Move(dst, bit_cast<uint64_t>(src)); } | 895 void Move(XMMRegister dst, double src) { Move(dst, bit_cast<uint64_t>(src)); } |
896 | 896 |
| 897 void Movapd(XMMRegister dst, XMMRegister src); |
| 898 void Movsd(XMMRegister dst, XMMRegister src); |
| 899 void Movsd(XMMRegister dst, const Operand& src); |
| 900 void Movsd(const Operand& dst, XMMRegister src); |
| 901 |
897 // Control Flow | 902 // Control Flow |
898 void Jump(Address destination, RelocInfo::Mode rmode); | 903 void Jump(Address destination, RelocInfo::Mode rmode); |
899 void Jump(ExternalReference ext); | 904 void Jump(ExternalReference ext); |
900 void Jump(const Operand& op); | 905 void Jump(const Operand& op); |
901 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); | 906 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); |
902 | 907 |
903 void Call(Address destination, RelocInfo::Mode rmode); | 908 void Call(Address destination, RelocInfo::Mode rmode); |
904 void Call(ExternalReference ext); | 909 void Call(ExternalReference ext); |
905 void Call(const Operand& op); | 910 void Call(const Operand& op); |
906 void Call(Handle<Code> code_object, | 911 void Call(Handle<Code> code_object, |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1637 } \ | 1642 } \ |
1638 masm-> | 1643 masm-> |
1639 #else | 1644 #else |
1640 #define ACCESS_MASM(masm) masm-> | 1645 #define ACCESS_MASM(masm) masm-> |
1641 #endif | 1646 #endif |
1642 | 1647 |
1643 } // namespace internal | 1648 } // namespace internal |
1644 } // namespace v8 | 1649 } // namespace v8 |
1645 | 1650 |
1646 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1651 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |