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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 | 726 |
727 // Loads a pointer into a register with a relocation mode. | 727 // Loads a pointer into a register with a relocation mode. |
728 void movp(Register dst, void* ptr, RelocInfo::Mode rmode); | 728 void movp(Register dst, void* ptr, RelocInfo::Mode rmode); |
729 | 729 |
730 // Loads a 64-bit immediate into a register. | 730 // Loads a 64-bit immediate into a register. |
731 void movq(Register dst, int64_t value); | 731 void movq(Register dst, int64_t value); |
732 void movq(Register dst, uint64_t value); | 732 void movq(Register dst, uint64_t value); |
733 | 733 |
734 void movsxbl(Register dst, const Operand& src); | 734 void movsxbl(Register dst, const Operand& src); |
735 void movsxbq(Register dst, const Operand& src); | 735 void movsxbq(Register dst, const Operand& src); |
| 736 void movsxwl(Register dst, Register src); |
736 void movsxwl(Register dst, const Operand& src); | 737 void movsxwl(Register dst, const Operand& src); |
737 void movsxwq(Register dst, const Operand& src); | 738 void movsxwq(Register dst, const Operand& src); |
738 void movsxlq(Register dst, Register src); | 739 void movsxlq(Register dst, Register src); |
739 void movsxlq(Register dst, const Operand& src); | 740 void movsxlq(Register dst, const Operand& src); |
740 | 741 |
741 // Repeated moves. | 742 // Repeated moves. |
742 | 743 |
743 void repmovsb(); | 744 void repmovsb(); |
744 void repmovsw(); | 745 void repmovsw(); |
745 void repmovsp() { emit_repmovs(kPointerSize); } | 746 void repmovsp() { emit_repmovs(kPointerSize); } |
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1624 private: | 1625 private: |
1625 Assembler* assembler_; | 1626 Assembler* assembler_; |
1626 #ifdef DEBUG | 1627 #ifdef DEBUG |
1627 int space_before_; | 1628 int space_before_; |
1628 #endif | 1629 #endif |
1629 }; | 1630 }; |
1630 | 1631 |
1631 } } // namespace v8::internal | 1632 } } // namespace v8::internal |
1632 | 1633 |
1633 #endif // V8_X64_ASSEMBLER_X64_H_ | 1634 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |