| 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_IA32_H_ | 5 #ifndef VM_ASSEMBLER_IA32_H_ |
| 6 #define VM_ASSEMBLER_IA32_H_ | 6 #define VM_ASSEMBLER_IA32_H_ |
| 7 | 7 |
| 8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
| 9 #error Do not include assembler_ia32.h directly; use assembler.h instead. | 9 #error Do not include assembler_ia32.h directly; use assembler.h instead. |
| 10 #endif | 10 #endif |
| (...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 Register value, // Value we are storing. | 670 Register value, // Value we are storing. |
| 671 bool can_value_be_smi = true); | 671 bool can_value_be_smi = true); |
| 672 | 672 |
| 673 void StoreIntoObjectNoBarrier(Register object, | 673 void StoreIntoObjectNoBarrier(Register object, |
| 674 const Address& dest, | 674 const Address& dest, |
| 675 Register value); | 675 Register value); |
| 676 void StoreIntoObjectNoBarrier(Register object, | 676 void StoreIntoObjectNoBarrier(Register object, |
| 677 const Address& dest, | 677 const Address& dest, |
| 678 const Object& value); | 678 const Object& value); |
| 679 | 679 |
| 680 // Stores a Smi value into a heap object field that always contains a Smi. |
| 681 void StoreIntoSmiField(const Address& dest, Register value); |
| 682 // Increments a Smi field. Leaves flags in same state as an 'addl'. |
| 683 void IncrementSmiField(const Address& dest, int32_t increment); |
| 684 |
| 680 void DoubleNegate(XmmRegister d); | 685 void DoubleNegate(XmmRegister d); |
| 681 void FloatNegate(XmmRegister f); | 686 void FloatNegate(XmmRegister f); |
| 682 | 687 |
| 683 void DoubleAbs(XmmRegister reg); | 688 void DoubleAbs(XmmRegister reg); |
| 684 | 689 |
| 685 void LockCmpxchgl(const Address& address, Register reg) { | 690 void LockCmpxchgl(const Address& address, Register reg) { |
| 686 lock(); | 691 lock(); |
| 687 cmpxchgl(address, reg); | 692 cmpxchgl(address, reg); |
| 688 } | 693 } |
| 689 | 694 |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 962 } | 967 } |
| 963 | 968 |
| 964 | 969 |
| 965 inline void Assembler::EmitOperandSizeOverride() { | 970 inline void Assembler::EmitOperandSizeOverride() { |
| 966 EmitUint8(0x66); | 971 EmitUint8(0x66); |
| 967 } | 972 } |
| 968 | 973 |
| 969 } // namespace dart | 974 } // namespace dart |
| 970 | 975 |
| 971 #endif // VM_ASSEMBLER_IA32_H_ | 976 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |