Chromium Code Reviews| 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, | |
|
Ivan Posva
2012/06/12 13:43:58
I don't think you need the object for these two st
cshapiro
2012/06/12 21:41:01
If you are suggesting that a minimal implementatio
| |
| 525 const FieldAddress& dest, | |
| 526 Register value); | |
| 527 void StoreIntoObjectNoBarrier(Register object, | |
| 528 const FieldAddress& dest, | |
| 529 const Immediate& 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 654 } | 661 } |
| 655 | 662 |
| 656 | 663 |
| 657 inline void Assembler::EmitOperandSizeOverride() { | 664 inline void Assembler::EmitOperandSizeOverride() { |
| 658 EmitUint8(0x66); | 665 EmitUint8(0x66); |
| 659 } | 666 } |
| 660 | 667 |
| 661 } // namespace dart | 668 } // namespace dart |
| 662 | 669 |
| 663 #endif // VM_ASSEMBLER_IA32_H_ | 670 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |