| 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 | 295 |
| 296 static const intptr_t kCallExternalLabelSize = 5; | 296 static const intptr_t kCallExternalLabelSize = 5; |
| 297 | 297 |
| 298 void pushl(Register reg); | 298 void pushl(Register reg); |
| 299 void pushl(const Address& address); | 299 void pushl(const Address& address); |
| 300 void pushl(const Immediate& imm); | 300 void pushl(const Immediate& imm); |
| 301 | 301 |
| 302 void popl(Register reg); | 302 void popl(Register reg); |
| 303 void popl(const Address& address); | 303 void popl(const Address& address); |
| 304 | 304 |
| 305 void pushal(); |
| 306 void popal(); |
| 307 |
| 305 void movl(Register dst, const Immediate& src); | 308 void movl(Register dst, const Immediate& src); |
| 306 void movl(Register dst, Register src); | 309 void movl(Register dst, Register src); |
| 307 | 310 |
| 308 void movl(Register dst, const Address& src); | 311 void movl(Register dst, const Address& src); |
| 309 void movl(const Address& dst, Register src); | 312 void movl(const Address& dst, Register src); |
| 310 void movl(const Address& dst, const Immediate& imm); | 313 void movl(const Address& dst, const Immediate& imm); |
| 311 | 314 |
| 312 void movzxb(Register dst, ByteRegister src); | 315 void movzxb(Register dst, ByteRegister src); |
| 313 void movzxb(Register dst, const Address& src); | 316 void movzxb(Register dst, const Address& src); |
| 314 void movsxb(Register dst, ByteRegister src); | 317 void movsxb(Register dst, ByteRegister src); |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 | 517 |
| 515 void LoadObject(Register dst, const Object& object); | 518 void LoadObject(Register dst, const Object& object); |
| 516 void PushObject(const Object& object); | 519 void PushObject(const Object& object); |
| 517 void CompareObject(Register reg, const Object& object); | 520 void CompareObject(Register reg, const Object& object); |
| 518 void LoadDoubleConstant(XmmRegister dst, double value); | 521 void LoadDoubleConstant(XmmRegister dst, double value); |
| 519 | 522 |
| 520 void StoreIntoObject(Register object, // Object we are storing into. | 523 void StoreIntoObject(Register object, // Object we are storing into. |
| 521 const FieldAddress& dest, // Where we are storing into. | 524 const FieldAddress& dest, // Where we are storing into. |
| 522 Register value); // Value we are storing. | 525 Register value); // Value we are storing. |
| 523 | 526 |
| 527 void StoreIntoObjectNoBarrier(Register object, |
| 528 const FieldAddress& dest, |
| 529 Register value); |
| 530 void StoreIntoObjectNoBarrier(Register object, |
| 531 const FieldAddress& dest, |
| 532 const Object& value); |
| 533 |
| 524 void DoubleNegate(XmmRegister d); | 534 void DoubleNegate(XmmRegister d); |
| 525 void FloatNegate(XmmRegister f); | 535 void FloatNegate(XmmRegister f); |
| 526 | 536 |
| 527 void DoubleAbs(XmmRegister reg); | 537 void DoubleAbs(XmmRegister reg); |
| 528 | 538 |
| 529 void LockCmpxchgl(const Address& address, Register reg) { | 539 void LockCmpxchgl(const Address& address, Register reg) { |
| 530 lock(); | 540 lock(); |
| 531 cmpxchgl(address, reg); | 541 cmpxchgl(address, reg); |
| 532 } | 542 } |
| 533 | 543 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 } | 662 } |
| 653 | 663 |
| 654 | 664 |
| 655 inline void Assembler::EmitOperandSizeOverride() { | 665 inline void Assembler::EmitOperandSizeOverride() { |
| 656 EmitUint8(0x66); | 666 EmitUint8(0x66); |
| 657 } | 667 } |
| 658 | 668 |
| 659 } // namespace dart | 669 } // namespace dart |
| 660 | 670 |
| 661 #endif // VM_ASSEMBLER_IA32_H_ | 671 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |