| 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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 void sarl(Register operand, Register shifter); | 588 void sarl(Register operand, Register shifter); |
| 589 void sarl(const Address& address, Register shifter); | 589 void sarl(const Address& address, Register shifter); |
| 590 void shld(Register dst, Register src); | 590 void shld(Register dst, Register src); |
| 591 void shld(const Address& operand, Register src); | 591 void shld(const Address& operand, Register src); |
| 592 void shrd(Register dst, Register src); | 592 void shrd(Register dst, Register src); |
| 593 void shrd(const Address& dst, Register src); | 593 void shrd(const Address& dst, Register src); |
| 594 | 594 |
| 595 void negl(Register reg); | 595 void negl(Register reg); |
| 596 void notl(Register reg); | 596 void notl(Register reg); |
| 597 | 597 |
| 598 void bsrl(Register dst, Register src); |
| 599 |
| 598 void enter(const Immediate& imm); | 600 void enter(const Immediate& imm); |
| 599 void leave(); | 601 void leave(); |
| 600 | 602 |
| 601 void ret(); | 603 void ret(); |
| 602 void ret(const Immediate& imm); | 604 void ret(const Immediate& imm); |
| 603 | 605 |
| 604 // 'size' indicates size in bytes and must be in the range 1..8. | 606 // 'size' indicates size in bytes and must be in the range 1..8. |
| 605 void nop(int size = 1); | 607 void nop(int size = 1); |
| 606 void int3(); | 608 void int3(); |
| 607 void hlt(); | 609 void hlt(); |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 } | 859 } |
| 858 | 860 |
| 859 | 861 |
| 860 inline void Assembler::EmitOperandSizeOverride() { | 862 inline void Assembler::EmitOperandSizeOverride() { |
| 861 EmitUint8(0x66); | 863 EmitUint8(0x66); |
| 862 } | 864 } |
| 863 | 865 |
| 864 } // namespace dart | 866 } // namespace dart |
| 865 | 867 |
| 866 #endif // VM_ASSEMBLER_IA32_H_ | 868 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |