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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
765 void StoreIntoObjectNoBarrier(Register object, | 765 void StoreIntoObjectNoBarrier(Register object, |
766 const Address& dest, | 766 const Address& dest, |
767 Register value); | 767 Register value); |
768 void StoreIntoObjectNoBarrier(Register object, | 768 void StoreIntoObjectNoBarrier(Register object, |
769 const Address& dest, | 769 const Address& dest, |
770 const Object& value, | 770 const Object& value, |
771 Register pp); | 771 Register pp); |
772 | 772 |
773 // Stores a Smi value into a heap object field that always contains a Smi. | 773 // Stores a Smi value into a heap object field that always contains a Smi. |
774 void StoreIntoSmiField(const Address& dest, Register value); | 774 void StoreIntoSmiField(const Address& dest, Register value); |
775 void ZeroSmiField(const Address& dest); | 775 void ZeroInitSmiField(const Address& dest); |
776 // Increments a Smi field. Leaves flags in same state as an 'addq'. | 776 // Increments a Smi field. Leaves flags in same state as an 'addq'. |
777 void IncrementSmiField(const Address& dest, int64_t increment); | 777 void IncrementSmiField(const Address& dest, int64_t increment); |
778 | 778 |
779 void DoubleNegate(XmmRegister d); | 779 void DoubleNegate(XmmRegister d); |
780 void FloatNegate(XmmRegister f); | 780 void FloatNegate(XmmRegister f); |
781 | 781 |
782 void DoubleAbs(XmmRegister reg); | 782 void DoubleAbs(XmmRegister reg); |
783 | 783 |
784 void LockCmpxchgq(const Address& address, Register reg) { | 784 void LockCmpxchgq(const Address& address, Register reg) { |
785 lock(); | 785 lock(); |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1198 } | 1198 } |
1199 | 1199 |
1200 | 1200 |
1201 inline void Assembler::EmitOperandSizeOverride() { | 1201 inline void Assembler::EmitOperandSizeOverride() { |
1202 EmitUint8(0x66); | 1202 EmitUint8(0x66); |
1203 } | 1203 } |
1204 | 1204 |
1205 } // namespace dart | 1205 } // namespace dart |
1206 | 1206 |
1207 #endif // VM_ASSEMBLER_X64_H_ | 1207 #endif // VM_ASSEMBLER_X64_H_ |
OLD | NEW |