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