| 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 | 341 |
| 342 void movzxw(Register dst, Register src); | 342 void movzxw(Register dst, Register src); |
| 343 void movzxw(Register dst, const Address& src); | 343 void movzxw(Register dst, const Address& src); |
| 344 void movsxw(Register dst, Register src); | 344 void movsxw(Register dst, Register src); |
| 345 void movsxw(Register dst, const Address& src); | 345 void movsxw(Register dst, const Address& src); |
| 346 void movw(Register dst, const Address& src); | 346 void movw(Register dst, const Address& src); |
| 347 void movw(const Address& dst, Register src); | 347 void movw(const Address& dst, Register src); |
| 348 | 348 |
| 349 void leal(Register dst, const Address& src); | 349 void leal(Register dst, const Address& src); |
| 350 | 350 |
| 351 void cmove(Register dst, Register src); |
| 351 void cmovs(Register dst, Register src); | 352 void cmovs(Register dst, Register src); |
| 352 void cmovns(Register dst, Register src); | 353 void cmovns(Register dst, Register src); |
| 353 | 354 |
| 354 void cmovgel(Register dst, Register src); | 355 void cmovgel(Register dst, Register src); |
| 355 void cmovlessl(Register dst, Register src); | 356 void cmovlessl(Register dst, Register src); |
| 356 | 357 |
| 357 void rep_movsb(); | 358 void rep_movsb(); |
| 358 | 359 |
| 359 void movss(XmmRegister dst, const Address& src); | 360 void movss(XmmRegister dst, const Address& src); |
| 360 void movss(const Address& dst, XmmRegister src); | 361 void movss(const Address& dst, XmmRegister src); |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 * Loading and comparing classes of objects. | 680 * Loading and comparing classes of objects. |
| 680 */ | 681 */ |
| 681 void LoadClassId(Register result, Register object); | 682 void LoadClassId(Register result, Register object); |
| 682 | 683 |
| 683 void LoadClassById(Register result, Register class_id); | 684 void LoadClassById(Register result, Register class_id); |
| 684 | 685 |
| 685 void LoadClass(Register result, Register object, Register scratch); | 686 void LoadClass(Register result, Register object, Register scratch); |
| 686 | 687 |
| 687 void CompareClassId(Register object, intptr_t class_id, Register scratch); | 688 void CompareClassId(Register object, intptr_t class_id, Register scratch); |
| 688 | 689 |
| 689 void LoadTaggedClassIdMayBeSmi(Register result, Register object); | 690 void LoadTaggedClassIdMayBeSmi(Register result, |
| 691 Register object, |
| 692 Register tmp); |
| 690 | 693 |
| 691 /* | 694 /* |
| 692 * Misc. functionality | 695 * Misc. functionality |
| 693 */ | 696 */ |
| 694 void SmiTag(Register reg) { | 697 void SmiTag(Register reg) { |
| 695 addl(reg, reg); | 698 addl(reg, reg); |
| 696 } | 699 } |
| 697 | 700 |
| 698 void SmiUntag(Register reg) { | 701 void SmiUntag(Register reg) { |
| 699 sarl(reg, Immediate(kSmiTagSize)); | 702 sarl(reg, Immediate(kSmiTagSize)); |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 895 } | 898 } |
| 896 | 899 |
| 897 | 900 |
| 898 inline void Assembler::EmitOperandSizeOverride() { | 901 inline void Assembler::EmitOperandSizeOverride() { |
| 899 EmitUint8(0x66); | 902 EmitUint8(0x66); |
| 900 } | 903 } |
| 901 | 904 |
| 902 } // namespace dart | 905 } // namespace dart |
| 903 | 906 |
| 904 #endif // VM_ASSEMBLER_IA32_H_ | 907 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |