| 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 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 void pushad(); | 666 void pushad(); |
| 667 void popad(); | 667 void popad(); |
| 668 | 668 |
| 669 void pushfd(); | 669 void pushfd(); |
| 670 void popfd(); | 670 void popfd(); |
| 671 | 671 |
| 672 void push(const Immediate& x); | 672 void push(const Immediate& x); |
| 673 void push_imm32(int32_t imm32); | 673 void push_imm32(int32_t imm32); |
| 674 void push(Register src); | 674 void push(Register src); |
| 675 void push(const Operand& src); | 675 void push(const Operand& src); |
| 676 void push(Handle<Object> handle); | |
| 677 | 676 |
| 678 void pop(Register dst); | 677 void pop(Register dst); |
| 679 void pop(const Operand& dst); | 678 void pop(const Operand& dst); |
| 680 | 679 |
| 681 void enter(const Immediate& size); | 680 void enter(const Immediate& size); |
| 682 void leave(); | 681 void leave(); |
| 683 | 682 |
| 684 // Moves | 683 // Moves |
| 685 void mov_b(Register dst, Register src) { mov_b(dst, Operand(src)); } | 684 void mov_b(Register dst, Register src) { mov_b(dst, Operand(src)); } |
| 686 void mov_b(Register dst, const Operand& src); | 685 void mov_b(Register dst, const Operand& src); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 706 void movsx_w(Register dst, Register src) { movsx_w(dst, Operand(src)); } | 705 void movsx_w(Register dst, Register src) { movsx_w(dst, Operand(src)); } |
| 707 void movsx_w(Register dst, const Operand& src); | 706 void movsx_w(Register dst, const Operand& src); |
| 708 | 707 |
| 709 void movzx_b(Register dst, Register src) { movzx_b(dst, Operand(src)); } | 708 void movzx_b(Register dst, Register src) { movzx_b(dst, Operand(src)); } |
| 710 void movzx_b(Register dst, const Operand& src); | 709 void movzx_b(Register dst, const Operand& src); |
| 711 | 710 |
| 712 void movzx_w(Register dst, Register src) { movzx_w(dst, Operand(src)); } | 711 void movzx_w(Register dst, Register src) { movzx_w(dst, Operand(src)); } |
| 713 void movzx_w(Register dst, const Operand& src); | 712 void movzx_w(Register dst, const Operand& src); |
| 714 | 713 |
| 715 // Conditional moves | 714 // Conditional moves |
| 716 void cmov(Condition cc, Register dst, int32_t imm32); | |
| 717 void cmov(Condition cc, Register dst, Handle<Object> handle); | |
| 718 void cmov(Condition cc, Register dst, Register src) { | 715 void cmov(Condition cc, Register dst, Register src) { |
| 719 cmov(cc, dst, Operand(src)); | 716 cmov(cc, dst, Operand(src)); |
| 720 } | 717 } |
| 721 void cmov(Condition cc, Register dst, const Operand& src); | 718 void cmov(Condition cc, Register dst, const Operand& src); |
| 722 | 719 |
| 723 // Flag management. | 720 // Flag management. |
| 724 void cld(); | 721 void cld(); |
| 725 | 722 |
| 726 // Repetitive string instructions. | 723 // Repetitive string instructions. |
| 727 void rep_movs(); | 724 void rep_movs(); |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1201 private: | 1198 private: |
| 1202 Assembler* assembler_; | 1199 Assembler* assembler_; |
| 1203 #ifdef DEBUG | 1200 #ifdef DEBUG |
| 1204 int space_before_; | 1201 int space_before_; |
| 1205 #endif | 1202 #endif |
| 1206 }; | 1203 }; |
| 1207 | 1204 |
| 1208 } } // namespace v8::internal | 1205 } } // namespace v8::internal |
| 1209 | 1206 |
| 1210 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1207 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
| OLD | NEW |