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

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

Issue 190383002: Handle non-power-of-2 divisors in division-like operations (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 6 years, 9 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/utils.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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 void idivq(Register src); 930 void idivq(Register src);
931 // Divide edx:eax by lower 32 bits of src. Quotient in eax, rem. in edx. 931 // Divide edx:eax by lower 32 bits of src. Quotient in eax, rem. in edx.
932 void idivl(Register src); 932 void idivl(Register src);
933 933
934 // Signed multiply instructions. 934 // Signed multiply instructions.
935 void imul(Register src); // rdx:rax = rax * src. 935 void imul(Register src); // rdx:rax = rax * src.
936 void imul(Register dst, Register src); // dst = dst * src. 936 void imul(Register dst, Register src); // dst = dst * src.
937 void imul(Register dst, const Operand& src); // dst = dst * src. 937 void imul(Register dst, const Operand& src); // dst = dst * src.
938 void imul(Register dst, Register src, Immediate imm); // dst = src * imm. 938 void imul(Register dst, Register src, Immediate imm); // dst = src * imm.
939 // Signed 32-bit multiply instructions. 939 // Signed 32-bit multiply instructions.
940 void imull(Register src); // edx:eax = eax * src.
940 void imull(Register dst, Register src); // dst = dst * src. 941 void imull(Register dst, Register src); // dst = dst * src.
941 void imull(Register dst, const Operand& src); // dst = dst * src. 942 void imull(Register dst, const Operand& src); // dst = dst * src.
942 void imull(Register dst, Register src, Immediate imm); // dst = src * imm. 943 void imull(Register dst, Register src, Immediate imm); // dst = src * imm.
943 944
944 void incq(Register dst); 945 void incq(Register dst);
945 void incq(const Operand& dst); 946 void incq(const Operand& dst);
946 void incl(Register dst); 947 void incl(Register dst);
947 void incl(const Operand& dst); 948 void incl(const Operand& dst);
948 949
949 void lea(Register dst, const Operand& src); 950 void lea(Register dst, const Operand& src);
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1733 private: 1734 private:
1734 Assembler* assembler_; 1735 Assembler* assembler_;
1735 #ifdef DEBUG 1736 #ifdef DEBUG
1736 int space_before_; 1737 int space_before_;
1737 #endif 1738 #endif
1738 }; 1739 };
1739 1740
1740 } } // namespace v8::internal 1741 } } // namespace v8::internal
1741 1742
1742 #endif // V8_X64_ASSEMBLER_X64_H_ 1743 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/utils.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698