| 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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 void AddImmediate(Register reg, const Immediate& imm); | 568 void AddImmediate(Register reg, const Immediate& imm); |
| 569 | 569 |
| 570 void Drop(intptr_t stack_elements); | 570 void Drop(intptr_t stack_elements); |
| 571 | 571 |
| 572 void LoadObject(Register dst, const Object& object); | 572 void LoadObject(Register dst, const Object& object); |
| 573 void PushObject(const Object& object); | 573 void PushObject(const Object& object); |
| 574 void CompareObject(Register reg, const Object& object); | 574 void CompareObject(Register reg, const Object& object); |
| 575 void LoadDoubleConstant(XmmRegister dst, double value); | 575 void LoadDoubleConstant(XmmRegister dst, double value); |
| 576 | 576 |
| 577 void StoreIntoObject(Register object, // Object we are storing into. | 577 void StoreIntoObject(Register object, // Object we are storing into. |
| 578 const FieldAddress& dest, // Where we are storing into. | 578 const Address& dest, // Where we are storing into. |
| 579 Register value); // Value we are storing. | 579 Register value); // Value we are storing. |
| 580 | 580 |
| 581 void StoreIntoObjectNoBarrier(Register object, | 581 void StoreIntoObjectNoBarrier(Register object, |
| 582 const FieldAddress& dest, | 582 const Address& dest, |
| 583 Register value); | 583 Register value); |
| 584 void StoreIntoObjectNoBarrier(Register object, | 584 void StoreIntoObjectNoBarrier(Register object, |
| 585 const FieldAddress& dest, | 585 const Address& dest, |
| 586 const Object& value); | 586 const Object& value); |
| 587 | 587 |
| 588 void TraceStoreIntoObject(Register object, | 588 void TraceStoreIntoObject(Register object, |
| 589 const FieldAddress& dest, | 589 const Address& dest, |
| 590 Register value); | 590 Register value); |
| 591 | 591 |
| 592 void DoubleNegate(XmmRegister d); | 592 void DoubleNegate(XmmRegister d); |
| 593 void FloatNegate(XmmRegister f); | 593 void FloatNegate(XmmRegister f); |
| 594 | 594 |
| 595 void DoubleAbs(XmmRegister reg); | 595 void DoubleAbs(XmmRegister reg); |
| 596 void DoubleRound(XmmRegister dst, XmmRegister src, XmmRegister tmp); | 596 void DoubleRound(XmmRegister dst, XmmRegister src, XmmRegister tmp); |
| 597 | 597 |
| 598 void LockCmpxchgl(const Address& address, Register reg) { | 598 void LockCmpxchgl(const Address& address, Register reg) { |
| 599 lock(); | 599 lock(); |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 } | 733 } |
| 734 | 734 |
| 735 | 735 |
| 736 inline void Assembler::EmitOperandSizeOverride() { | 736 inline void Assembler::EmitOperandSizeOverride() { |
| 737 EmitUint8(0x66); | 737 EmitUint8(0x66); |
| 738 } | 738 } |
| 739 | 739 |
| 740 } // namespace dart | 740 } // namespace dart |
| 741 | 741 |
| 742 #endif // VM_ASSEMBLER_IA32_H_ | 742 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |