| 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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 void shld(Register dst, Register src); | 587 void shld(Register dst, Register src); |
| 588 void shld(const Address& operand, Register src); | 588 void shld(const Address& operand, Register src); |
| 589 void shrd(Register dst, Register src); | 589 void shrd(Register dst, Register src); |
| 590 void shrd(const Address& dst, Register src); | 590 void shrd(const Address& dst, Register src); |
| 591 | 591 |
| 592 void negl(Register reg); | 592 void negl(Register reg); |
| 593 void notl(Register reg); | 593 void notl(Register reg); |
| 594 | 594 |
| 595 void bsrl(Register dst, Register src); | 595 void bsrl(Register dst, Register src); |
| 596 | 596 |
| 597 void bt(Register base, Register offset); | |
| 598 | |
| 599 void enter(const Immediate& imm); | 597 void enter(const Immediate& imm); |
| 600 void leave(); | 598 void leave(); |
| 601 | 599 |
| 602 void ret(); | 600 void ret(); |
| 603 void ret(const Immediate& imm); | 601 void ret(const Immediate& imm); |
| 604 | 602 |
| 605 // 'size' indicates size in bytes and must be in the range 1..8. | 603 // 'size' indicates size in bytes and must be in the range 1..8. |
| 606 void nop(int size = 1); | 604 void nop(int size = 1); |
| 607 void int3(); | 605 void int3(); |
| 608 void hlt(); | 606 void hlt(); |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 } | 898 } |
| 901 | 899 |
| 902 | 900 |
| 903 inline void Assembler::EmitOperandSizeOverride() { | 901 inline void Assembler::EmitOperandSizeOverride() { |
| 904 EmitUint8(0x66); | 902 EmitUint8(0x66); |
| 905 } | 903 } |
| 906 | 904 |
| 907 } // namespace dart | 905 } // namespace dart |
| 908 | 906 |
| 909 #endif // VM_ASSEMBLER_IA32_H_ | 907 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |