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

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

Issue 596643003: [x64] three operand imul supports first operand in memory location (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/compiler/x64/code-generator-x64.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 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 // when size is 32. 1442 // when size is 32.
1443 void emit_idiv(Register src, int size); 1443 void emit_idiv(Register src, int size);
1444 void emit_div(Register src, int size); 1444 void emit_div(Register src, int size);
1445 1445
1446 // Signed multiply instructions. 1446 // Signed multiply instructions.
1447 // rdx:rax = rax * src when size is 64 or edx:eax = eax * src when size is 32. 1447 // rdx:rax = rax * src when size is 64 or edx:eax = eax * src when size is 32.
1448 void emit_imul(Register src, int size); 1448 void emit_imul(Register src, int size);
1449 void emit_imul(Register dst, Register src, int size); 1449 void emit_imul(Register dst, Register src, int size);
1450 void emit_imul(Register dst, const Operand& src, int size); 1450 void emit_imul(Register dst, const Operand& src, int size);
1451 void emit_imul(Register dst, Register src, Immediate imm, int size); 1451 void emit_imul(Register dst, Register src, Immediate imm, int size);
1452 void emit_imul(Register dst, const Operand& src, Immediate imm, int size);
1452 1453
1453 void emit_inc(Register dst, int size); 1454 void emit_inc(Register dst, int size);
1454 void emit_inc(const Operand& dst, int size); 1455 void emit_inc(const Operand& dst, int size);
1455 1456
1456 void emit_lea(Register dst, const Operand& src, int size); 1457 void emit_lea(Register dst, const Operand& src, int size);
1457 1458
1458 void emit_mov(Register dst, const Operand& src, int size); 1459 void emit_mov(Register dst, const Operand& src, int size);
1459 void emit_mov(Register dst, Register src, int size); 1460 void emit_mov(Register dst, Register src, int size);
1460 void emit_mov(const Operand& dst, Register src, int size); 1461 void emit_mov(const Operand& dst, Register src, int size);
1461 void emit_mov(Register dst, Immediate value, int size); 1462 void emit_mov(Register dst, Immediate value, int size);
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 private: 1593 private:
1593 Assembler* assembler_; 1594 Assembler* assembler_;
1594 #ifdef DEBUG 1595 #ifdef DEBUG
1595 int space_before_; 1596 int space_before_;
1596 #endif 1597 #endif
1597 }; 1598 };
1598 1599
1599 } } // namespace v8::internal 1600 } } // namespace v8::internal
1600 1601
1601 #endif // V8_X64_ASSEMBLER_X64_H_ 1602 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/compiler/x64/code-generator-x64.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698