| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 | 514 |
| 515 void LoadObject(Register dst, const Object& object); | 515 void LoadObject(Register dst, const Object& object); |
| 516 void PushObject(const Object& object); | 516 void PushObject(const Object& object); |
| 517 void CompareObject(Register reg, const Object& object); | 517 void CompareObject(Register reg, const Object& object); |
| 518 void LoadDoubleConstant(XmmRegister dst, double value); | 518 void LoadDoubleConstant(XmmRegister dst, double value); |
| 519 | 519 |
| 520 void StoreIntoObject(Register object, // Object we are storing into. | 520 void StoreIntoObject(Register object, // Object we are storing into. |
| 521 const FieldAddress& dest, // Where we are storing into. | 521 const FieldAddress& dest, // Where we are storing into. |
| 522 Register value); // Value we are storing. | 522 Register value); // Value we are storing. |
| 523 | 523 |
| 524 void StoreIntoObjectNoBarrier(Register object, |
| 525 const FieldAddress& dest, |
| 526 Register value); |
| 527 void StoreIntoObjectNoBarrier(Register object, |
| 528 const FieldAddress& dest, |
| 529 const Object& value); |
| 530 |
| 524 void DoubleNegate(XmmRegister d); | 531 void DoubleNegate(XmmRegister d); |
| 525 void FloatNegate(XmmRegister f); | 532 void FloatNegate(XmmRegister f); |
| 526 | 533 |
| 527 void DoubleAbs(XmmRegister reg); | 534 void DoubleAbs(XmmRegister reg); |
| 528 | 535 |
| 529 void LockCmpxchgl(const Address& address, Register reg) { | 536 void LockCmpxchgl(const Address& address, Register reg) { |
| 530 lock(); | 537 lock(); |
| 531 cmpxchgl(address, reg); | 538 cmpxchgl(address, reg); |
| 532 } | 539 } |
| 533 | 540 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 } | 659 } |
| 653 | 660 |
| 654 | 661 |
| 655 inline void Assembler::EmitOperandSizeOverride() { | 662 inline void Assembler::EmitOperandSizeOverride() { |
| 656 EmitUint8(0x66); | 663 EmitUint8(0x66); |
| 657 } | 664 } |
| 658 | 665 |
| 659 } // namespace dart | 666 } // namespace dart |
| 660 | 667 |
| 661 #endif // VM_ASSEMBLER_IA32_H_ | 668 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |