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 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 void idivq(Register src); | 736 void idivq(Register src); |
737 // Divide edx:eax by lower 32 bits of src. Quotient in eax, rem. in edx. | 737 // Divide edx:eax by lower 32 bits of src. Quotient in eax, rem. in edx. |
738 void idivl(Register src); | 738 void idivl(Register src); |
739 | 739 |
740 // Signed multiply instructions. | 740 // Signed multiply instructions. |
741 void imul(Register src); // rdx:rax = rax * src. | 741 void imul(Register src); // rdx:rax = rax * src. |
742 void imul(Register dst, Register src); // dst = dst * src. | 742 void imul(Register dst, Register src); // dst = dst * src. |
743 void imul(Register dst, const Operand& src); // dst = dst * src. | 743 void imul(Register dst, const Operand& src); // dst = dst * src. |
744 void imul(Register dst, Register src, Immediate imm); // dst = src * imm. | 744 void imul(Register dst, Register src, Immediate imm); // dst = src * imm. |
745 // Signed 32-bit multiply instructions. | 745 // Signed 32-bit multiply instructions. |
746 void imull(Register dst, Register src); // dst = dst * src. | 746 void imull(Register dst, Register src); // dst = dst * src. |
747 void imull(Register dst, Register src, Immediate imm); // dst = src * imm. | 747 void imull(Register dst, Register src, Immediate imm); // dst = src * imm. |
748 | 748 |
749 void incq(Register dst); | 749 void incq(Register dst); |
750 void incq(const Operand& dst); | 750 void incq(const Operand& dst); |
751 void incl(const Operand& dst); | 751 void incl(const Operand& dst); |
752 | 752 |
753 void lea(Register dst, const Operand& src); | 753 void lea(Register dst, const Operand& src); |
754 void leal(Register dst, const Operand& src); | 754 void leal(Register dst, const Operand& src); |
755 | 755 |
756 // Multiply rax by src, put the result in rdx:rax. | 756 // Multiply rax by src, put the result in rdx:rax. |
757 void mul(Register src); | 757 void mul(Register src); |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1376 private: | 1376 private: |
1377 Assembler* assembler_; | 1377 Assembler* assembler_; |
1378 #ifdef DEBUG | 1378 #ifdef DEBUG |
1379 int space_before_; | 1379 int space_before_; |
1380 #endif | 1380 #endif |
1381 }; | 1381 }; |
1382 | 1382 |
1383 } } // namespace v8::internal | 1383 } } // namespace v8::internal |
1384 | 1384 |
1385 #endif // V8_X64_ASSEMBLER_X64_H_ | 1385 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |