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

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

Issue 150002: * Add missing imul instruction on Intel.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 5 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/assembler-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 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 void decq(Register dst); 598 void decq(Register dst);
599 void decq(const Operand& dst); 599 void decq(const Operand& dst);
600 void decl(const Operand& dst); 600 void decl(const Operand& dst);
601 601
602 // Sign-extends rax into rdx:rax. 602 // Sign-extends rax into rdx:rax.
603 void cqo(); 603 void cqo();
604 604
605 // Divide rdx:rax by src. Quotient in rax, remainder in rdx. 605 // Divide rdx:rax by src. Quotient in rax, remainder in rdx.
606 void idiv(Register src); 606 void idiv(Register src);
607 607
608 void imul(Register dst, Register src); 608 // Signed multiply instructions.
609 void imul(Register dst, const Operand& src); 609 void imul(Register src); // rdx:rax = rax * src.
610 // Performs the operation dst = src * imm. 610 void imul(Register dst, Register src); // dst = dst * src.
611 void imul(Register dst, Register src, Immediate imm); 611 void imul(Register dst, const Operand& src); // dst = dst * src.
612 void imul(Register dst, Register src, Immediate imm); // dst = src * imm.
612 // Multiply 32 bit registers 613 // Multiply 32 bit registers
613 void imull(Register dst, Register src); 614 void imull(Register dst, Register src); // dst = dst * src.
614 615
615 void incq(Register dst); 616 void incq(Register dst);
616 void incq(const Operand& dst); 617 void incq(const Operand& dst);
617 void incl(const Operand& dst); 618 void incl(const Operand& dst);
618 619
619 void lea(Register dst, const Operand& src); 620 void lea(Register dst, const Operand& src);
620 621
621 // Multiply rax by src, put the result in rdx:rax. 622 // Multiply rax by src, put the result in rdx:rax.
622 void mul(Register src); 623 void mul(Register src);
623 624
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
1153 private: 1154 private:
1154 Assembler* assembler_; 1155 Assembler* assembler_;
1155 #ifdef DEBUG 1156 #ifdef DEBUG
1156 int space_before_; 1157 int space_before_;
1157 #endif 1158 #endif
1158 }; 1159 };
1159 1160
1160 } } // namespace v8::internal 1161 } } // namespace v8::internal
1161 1162
1162 #endif // V8_X64_ASSEMBLER_X64_H_ 1163 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698