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/frames.h" | 10 #include "src/frames.h" |
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
881 } | 881 } |
882 | 882 |
883 void Move(Register dst, Handle<Object> value, RelocInfo::Mode rmode) { | 883 void Move(Register dst, Handle<Object> value, RelocInfo::Mode rmode) { |
884 AllowDeferredHandleDereference using_raw_address; | 884 AllowDeferredHandleDereference using_raw_address; |
885 DCHECK(!RelocInfo::IsNone(rmode)); | 885 DCHECK(!RelocInfo::IsNone(rmode)); |
886 DCHECK(value->IsHeapObject()); | 886 DCHECK(value->IsHeapObject()); |
887 DCHECK(!isolate()->heap()->InNewSpace(*value)); | 887 DCHECK(!isolate()->heap()->InNewSpace(*value)); |
888 movp(dst, reinterpret_cast<void*>(value.location()), rmode); | 888 movp(dst, reinterpret_cast<void*>(value.location()), rmode); |
889 } | 889 } |
890 | 890 |
| 891 void Move(XMMRegister dst, uint32_t src); |
| 892 void Move(XMMRegister dst, uint64_t src); |
| 893 |
891 // Control Flow | 894 // Control Flow |
892 void Jump(Address destination, RelocInfo::Mode rmode); | 895 void Jump(Address destination, RelocInfo::Mode rmode); |
893 void Jump(ExternalReference ext); | 896 void Jump(ExternalReference ext); |
894 void Jump(const Operand& op); | 897 void Jump(const Operand& op); |
895 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); | 898 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); |
896 | 899 |
897 void Call(Address destination, RelocInfo::Mode rmode); | 900 void Call(Address destination, RelocInfo::Mode rmode); |
898 void Call(ExternalReference ext); | 901 void Call(ExternalReference ext); |
899 void Call(const Operand& op); | 902 void Call(const Operand& op); |
900 void Call(Handle<Code> code_object, | 903 void Call(Handle<Code> code_object, |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1642 masm->popfq(); \ | 1645 masm->popfq(); \ |
1643 } \ | 1646 } \ |
1644 masm-> | 1647 masm-> |
1645 #else | 1648 #else |
1646 #define ACCESS_MASM(masm) masm-> | 1649 #define ACCESS_MASM(masm) masm-> |
1647 #endif | 1650 #endif |
1648 | 1651 |
1649 } } // namespace v8::internal | 1652 } } // namespace v8::internal |
1650 | 1653 |
1651 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1654 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |