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 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 // position (after the move) to the destination. | 769 // position (after the move) to the destination. |
770 void movl(const Operand& dst, Label* src); | 770 void movl(const Operand& dst, Label* src); |
771 | 771 |
772 // Loads a pointer into a register with a relocation mode. | 772 // Loads a pointer into a register with a relocation mode. |
773 void movp(Register dst, void* ptr, RelocInfo::Mode rmode); | 773 void movp(Register dst, void* ptr, RelocInfo::Mode rmode); |
774 | 774 |
775 // Loads a 64-bit immediate into a register. | 775 // Loads a 64-bit immediate into a register. |
776 void movq(Register dst, int64_t value); | 776 void movq(Register dst, int64_t value); |
777 void movq(Register dst, uint64_t value); | 777 void movq(Register dst, uint64_t value); |
778 | 778 |
| 779 void movsxbl(Register dst, const Operand& src); |
779 void movsxbq(Register dst, const Operand& src); | 780 void movsxbq(Register dst, const Operand& src); |
| 781 void movsxwl(Register dst, const Operand& src); |
780 void movsxwq(Register dst, const Operand& src); | 782 void movsxwq(Register dst, const Operand& src); |
781 void movsxlq(Register dst, Register src); | 783 void movsxlq(Register dst, Register src); |
782 void movsxlq(Register dst, const Operand& src); | 784 void movsxlq(Register dst, const Operand& src); |
783 | 785 |
784 // Repeated moves. | 786 // Repeated moves. |
785 | 787 |
786 void repmovsb(); | 788 void repmovsb(); |
787 void repmovsw(); | 789 void repmovsw(); |
788 void repmovsp() { emit_repmovs(kPointerSize); } | 790 void repmovsp() { emit_repmovs(kPointerSize); } |
789 void repmovsl() { emit_repmovs(kInt32Size); } | 791 void repmovsl() { emit_repmovs(kInt32Size); } |
(...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1833 private: | 1835 private: |
1834 Assembler* assembler_; | 1836 Assembler* assembler_; |
1835 #ifdef DEBUG | 1837 #ifdef DEBUG |
1836 int space_before_; | 1838 int space_before_; |
1837 #endif | 1839 #endif |
1838 }; | 1840 }; |
1839 | 1841 |
1840 } } // namespace v8::internal | 1842 } } // namespace v8::internal |
1841 | 1843 |
1842 #endif // V8_X64_ASSEMBLER_X64_H_ | 1844 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |