| 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 |
| 597 void enter(const Immediate& imm); | 599 void enter(const Immediate& imm); |
| 598 void leave(); | 600 void leave(); |
| 599 | 601 |
| 600 void ret(); | 602 void ret(); |
| 601 void ret(const Immediate& imm); | 603 void ret(const Immediate& imm); |
| 602 | 604 |
| 603 // 'size' indicates size in bytes and must be in the range 1..8. | 605 // 'size' indicates size in bytes and must be in the range 1..8. |
| 604 void nop(int size = 1); | 606 void nop(int size = 1); |
| 605 void int3(); | 607 void int3(); |
| 606 void hlt(); | 608 void hlt(); |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 898 } | 900 } |
| 899 | 901 |
| 900 | 902 |
| 901 inline void Assembler::EmitOperandSizeOverride() { | 903 inline void Assembler::EmitOperandSizeOverride() { |
| 902 EmitUint8(0x66); | 904 EmitUint8(0x66); |
| 903 } | 905 } |
| 904 | 906 |
| 905 } // namespace dart | 907 } // namespace dart |
| 906 | 908 |
| 907 #endif // VM_ASSEMBLER_IA32_H_ | 909 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |