OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 void pop(Register dst); | 612 void pop(Register dst); |
613 void pop(const Operand& dst); | 613 void pop(const Operand& dst); |
614 | 614 |
615 void enter(const Immediate& size); | 615 void enter(const Immediate& size); |
616 void leave(); | 616 void leave(); |
617 | 617 |
618 // Moves | 618 // Moves |
619 void mov_b(Register dst, Register src) { mov_b(dst, Operand(src)); } | 619 void mov_b(Register dst, Register src) { mov_b(dst, Operand(src)); } |
620 void mov_b(Register dst, const Operand& src); | 620 void mov_b(Register dst, const Operand& src); |
621 void mov_b(Register dst, int8_t imm8) { mov_b(Operand(dst), imm8); } | 621 void mov_b(Register dst, int8_t imm8) { mov_b(Operand(dst), imm8); } |
622 void mov_b(const Operand& dst, int8_t imm8); | 622 void mov_b(const Operand& dst, int8_t src) { mov_b(dst, Immediate(src)); } |
| 623 void mov_b(const Operand& dst, const Immediate& src); |
623 void mov_b(const Operand& dst, Register src); | 624 void mov_b(const Operand& dst, Register src); |
624 | 625 |
625 void mov_w(Register dst, const Operand& src); | 626 void mov_w(Register dst, const Operand& src); |
| 627 void mov_w(const Operand& dst, int16_t src) { mov_w(dst, Immediate(src)); } |
| 628 void mov_w(const Operand& dst, const Immediate& src); |
626 void mov_w(const Operand& dst, Register src); | 629 void mov_w(const Operand& dst, Register src); |
627 void mov_w(const Operand& dst, int16_t imm16); | |
628 | 630 |
629 void mov(Register dst, int32_t imm32); | 631 void mov(Register dst, int32_t imm32); |
630 void mov(Register dst, const Immediate& x); | 632 void mov(Register dst, const Immediate& x); |
631 void mov(Register dst, Handle<Object> handle); | 633 void mov(Register dst, Handle<Object> handle); |
632 void mov(Register dst, const Operand& src); | 634 void mov(Register dst, const Operand& src); |
633 void mov(Register dst, Register src); | 635 void mov(Register dst, Register src); |
634 void mov(const Operand& dst, const Immediate& x); | 636 void mov(const Operand& dst, const Immediate& x); |
635 void mov(const Operand& dst, Handle<Object> handle); | 637 void mov(const Operand& dst, Handle<Object> handle); |
636 void mov(const Operand& dst, Register src); | 638 void mov(const Operand& dst, Register src); |
637 | 639 |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1199 private: | 1201 private: |
1200 Assembler* assembler_; | 1202 Assembler* assembler_; |
1201 #ifdef DEBUG | 1203 #ifdef DEBUG |
1202 int space_before_; | 1204 int space_before_; |
1203 #endif | 1205 #endif |
1204 }; | 1206 }; |
1205 | 1207 |
1206 } } // namespace v8::internal | 1208 } } // namespace v8::internal |
1207 | 1209 |
1208 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1210 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
OLD | NEW |