| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_ASSEMBLER_X64_H_ | 5 #ifndef VM_ASSEMBLER_X64_H_ |
| 6 #define VM_ASSEMBLER_X64_H_ | 6 #define VM_ASSEMBLER_X64_H_ |
| 7 | 7 |
| 8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
| 9 #error Do not include assembler_x64.h directly; use assembler.h instead. | 9 #error Do not include assembler_x64.h directly; use assembler.h instead. |
| 10 #endif | 10 #endif |
| (...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 | 746 |
| 747 void StoreIntoObjectNoBarrier(Register object, | 747 void StoreIntoObjectNoBarrier(Register object, |
| 748 const Address& dest, | 748 const Address& dest, |
| 749 Register value); | 749 Register value); |
| 750 | 750 |
| 751 void DoubleNegate(XmmRegister d); | 751 void DoubleNegate(XmmRegister d); |
| 752 void FloatNegate(XmmRegister f); | 752 void FloatNegate(XmmRegister f); |
| 753 | 753 |
| 754 void DoubleAbs(XmmRegister reg); | 754 void DoubleAbs(XmmRegister reg); |
| 755 | 755 |
| 756 void LockCmpxchgl(const Address& address, Register reg) { | 756 void LockCmpxchgq(const Address& address, Register reg) { |
| 757 lock(); | 757 lock(); |
| 758 cmpxchgl(address, reg); | 758 cmpxchgq(address, reg); |
| 759 } | 759 } |
| 760 | 760 |
| 761 void PushRegisters(intptr_t cpu_register_set, intptr_t xmm_register_set); | 761 void PushRegisters(intptr_t cpu_register_set, intptr_t xmm_register_set); |
| 762 void PopRegisters(intptr_t cpu_register_set, intptr_t xmm_register_set); | 762 void PopRegisters(intptr_t cpu_register_set, intptr_t xmm_register_set); |
| 763 | 763 |
| 764 void EnterFrame(intptr_t frame_space); | 764 void EnterFrame(intptr_t frame_space); |
| 765 void LeaveFrame(); | 765 void LeaveFrame(); |
| 766 void ReserveAlignedFrameSpace(intptr_t frame_space); | 766 void ReserveAlignedFrameSpace(intptr_t frame_space); |
| 767 | 767 |
| 768 // Create a frame for calling into runtime that preserves all volatile | 768 // Create a frame for calling into runtime that preserves all volatile |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1156 } | 1156 } |
| 1157 | 1157 |
| 1158 | 1158 |
| 1159 inline void Assembler::EmitOperandSizeOverride() { | 1159 inline void Assembler::EmitOperandSizeOverride() { |
| 1160 EmitUint8(0x66); | 1160 EmitUint8(0x66); |
| 1161 } | 1161 } |
| 1162 | 1162 |
| 1163 } // namespace dart | 1163 } // namespace dart |
| 1164 | 1164 |
| 1165 #endif // VM_ASSEMBLER_X64_H_ | 1165 #endif // VM_ASSEMBLER_X64_H_ |
| OLD | NEW |