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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 void movb(Register dst, const Address& src); | 349 void movb(Register dst, const Address& src); |
350 void movb(const Address& dst, ByteRegister src); | 350 void movb(const Address& dst, ByteRegister src); |
351 void movb(const Address& dst, const Immediate& imm); | 351 void movb(const Address& dst, const Immediate& imm); |
352 | 352 |
353 void movzxw(Register dst, Register src); | 353 void movzxw(Register dst, Register src); |
354 void movzxw(Register dst, const Address& src); | 354 void movzxw(Register dst, const Address& src); |
355 void movsxw(Register dst, Register src); | 355 void movsxw(Register dst, Register src); |
356 void movsxw(Register dst, const Address& src); | 356 void movsxw(Register dst, const Address& src); |
357 void movw(Register dst, const Address& src); | 357 void movw(Register dst, const Address& src); |
358 void movw(const Address& dst, Register src); | 358 void movw(const Address& dst, Register src); |
| 359 void movw(const Address& dst, const Immediate& imm); |
359 | 360 |
360 void leal(Register dst, const Address& src); | 361 void leal(Register dst, const Address& src); |
361 | 362 |
362 void cmovno(Register dst, Register src); | 363 void cmovno(Register dst, Register src); |
363 void cmove(Register dst, Register src); | 364 void cmove(Register dst, Register src); |
364 void cmovne(Register dst, Register src); | 365 void cmovne(Register dst, Register src); |
365 void cmovs(Register dst, Register src); | 366 void cmovs(Register dst, Register src); |
366 void cmovns(Register dst, Register src); | 367 void cmovns(Register dst, Register src); |
367 | 368 |
368 void cmovgel(Register dst, Register src); | 369 void cmovgel(Register dst, Register src); |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 void fptan(); | 525 void fptan(); |
525 | 526 |
526 void xchgl(Register dst, Register src); | 527 void xchgl(Register dst, Register src); |
527 | 528 |
528 void cmpl(Register reg, const Immediate& imm); | 529 void cmpl(Register reg, const Immediate& imm); |
529 void cmpl(Register reg0, Register reg1); | 530 void cmpl(Register reg0, Register reg1); |
530 void cmpl(Register reg, const Address& address); | 531 void cmpl(Register reg, const Address& address); |
531 | 532 |
532 void cmpl(const Address& address, Register reg); | 533 void cmpl(const Address& address, Register reg); |
533 void cmpl(const Address& address, const Immediate& imm); | 534 void cmpl(const Address& address, const Immediate& imm); |
| 535 void cmpw(Register reg, const Address& address); |
| 536 void cmpw(const Address& address, const Immediate& imm); |
534 void cmpb(const Address& address, const Immediate& imm); | 537 void cmpb(const Address& address, const Immediate& imm); |
535 | 538 |
536 void testl(Register reg1, Register reg2); | 539 void testl(Register reg1, Register reg2); |
537 void testl(Register reg, const Immediate& imm); | 540 void testl(Register reg, const Immediate& imm); |
538 void testb(const Address& address, const Immediate& imm); | 541 void testb(const Address& address, const Immediate& imm); |
539 | 542 |
540 void andl(Register dst, const Immediate& imm); | 543 void andl(Register dst, const Immediate& imm); |
541 void andl(Register dst, Register src); | 544 void andl(Register dst, Register src); |
542 void andl(Register dst, const Address& address); | 545 void andl(Register dst, const Address& address); |
543 | 546 |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1028 } | 1031 } |
1029 | 1032 |
1030 | 1033 |
1031 inline void Assembler::EmitOperandSizeOverride() { | 1034 inline void Assembler::EmitOperandSizeOverride() { |
1032 EmitUint8(0x66); | 1035 EmitUint8(0x66); |
1033 } | 1036 } |
1034 | 1037 |
1035 } // namespace dart | 1038 } // namespace dart |
1036 | 1039 |
1037 #endif // VM_ASSEMBLER_IA32_H_ | 1040 #endif // VM_ASSEMBLER_IA32_H_ |
OLD | NEW |