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

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

Issue 2872005: X64: Change some smi operations to work on untagged integers instead. (Closed)
Patch Set: Addressed review comments. Created 10 years, 6 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
« no previous file with comments | « no previous file | 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 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 void imul(Register src); // rdx:rax = rax * src. 758 void imul(Register src); // rdx:rax = rax * src.
759 void imul(Register dst, Register src); // dst = dst * src. 759 void imul(Register dst, Register src); // dst = dst * src.
760 void imul(Register dst, const Operand& src); // dst = dst * src. 760 void imul(Register dst, const Operand& src); // dst = dst * src.
761 void imul(Register dst, Register src, Immediate imm); // dst = src * imm. 761 void imul(Register dst, Register src, Immediate imm); // dst = src * imm.
762 // Signed 32-bit multiply instructions. 762 // Signed 32-bit multiply instructions.
763 void imull(Register dst, Register src); // dst = dst * src. 763 void imull(Register dst, Register src); // dst = dst * src.
764 void imull(Register dst, Register src, Immediate imm); // dst = src * imm. 764 void imull(Register dst, Register src, Immediate imm); // dst = src * imm.
765 765
766 void incq(Register dst); 766 void incq(Register dst);
767 void incq(const Operand& dst); 767 void incq(const Operand& dst);
768 void incl(Register dst);
768 void incl(const Operand& dst); 769 void incl(const Operand& dst);
769 770
770 void lea(Register dst, const Operand& src); 771 void lea(Register dst, const Operand& src);
771 void leal(Register dst, const Operand& src); 772 void leal(Register dst, const Operand& src);
772 773
773 // Multiply rax by src, put the result in rdx:rax. 774 // Multiply rax by src, put the result in rdx:rax.
774 void mul(Register src); 775 void mul(Register src);
775 776
776 void neg(Register dst); 777 void neg(Register dst);
777 void neg(const Operand& dst); 778 void neg(const Operand& dst);
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
1415 private: 1416 private:
1416 Assembler* assembler_; 1417 Assembler* assembler_;
1417 #ifdef DEBUG 1418 #ifdef DEBUG
1418 int space_before_; 1419 int space_before_;
1419 #endif 1420 #endif
1420 }; 1421 };
1421 1422
1422 } } // namespace v8::internal 1423 } } // namespace v8::internal
1423 1424
1424 #endif // V8_X64_ASSEMBLER_X64_H_ 1425 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698