Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(711)

Side by Side Diff: src/x64/assembler-x64.h

Issue 6448001: x64: Add MulI and DivI to lithium instructions. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 847 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 // Divide edx:eax by lower 32 bits of src. Quotient in eax, rem. in edx. 858 // Divide edx:eax by lower 32 bits of src. Quotient in eax, rem. in edx.
859 void idivl(Register src); 859 void idivl(Register src);
860 860
861 // Signed multiply instructions. 861 // Signed multiply instructions.
862 void imul(Register src); // rdx:rax = rax * src. 862 void imul(Register src); // rdx:rax = rax * src.
863 void imul(Register dst, Register src); // dst = dst * src. 863 void imul(Register dst, Register src); // dst = dst * src.
864 void imul(Register dst, const Operand& src); // dst = dst * src. 864 void imul(Register dst, const Operand& src); // dst = dst * src.
865 void imul(Register dst, Register src, Immediate imm); // dst = src * imm. 865 void imul(Register dst, Register src, Immediate imm); // dst = src * imm.
866 // Signed 32-bit multiply instructions. 866 // Signed 32-bit multiply instructions.
867 void imull(Register dst, Register src); // dst = dst * src. 867 void imull(Register dst, Register src); // dst = dst * src.
868 void imull(Register dst, const Operand& src); // dst = dst * src.
868 void imull(Register dst, Register src, Immediate imm); // dst = src * imm. 869 void imull(Register dst, Register src, Immediate imm); // dst = src * imm.
869 870
870 void incq(Register dst); 871 void incq(Register dst);
871 void incq(const Operand& dst); 872 void incq(const Operand& dst);
872 void incl(Register dst); 873 void incl(Register dst);
873 void incl(const Operand& dst); 874 void incl(const Operand& dst);
874 875
875 void lea(Register dst, const Operand& src); 876 void lea(Register dst, const Operand& src);
876 void leal(Register dst, const Operand& src); 877 void leal(Register dst, const Operand& src);
877 878
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
1563 private: 1564 private:
1564 Assembler* assembler_; 1565 Assembler* assembler_;
1565 #ifdef DEBUG 1566 #ifdef DEBUG
1566 int space_before_; 1567 int space_before_;
1567 #endif 1568 #endif
1568 }; 1569 };
1569 1570
1570 } } // namespace v8::internal 1571 } } // namespace v8::internal
1571 1572
1572 #endif // V8_X64_ASSEMBLER_X64_H_ 1573 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698