Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index d938046b1c91dd7e09919ef9c23363371911d657..3b55396c14877163b50e63cc86a1a70681ca476a 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -810,8 +810,11 @@ class Assembler : public AssemblerBase { |
// Sign-extends eax into edx:eax. |
void cdq(); |
+ // Multiply eax by src, put the result in edx:eax. |
+ void mull(Register src); |
+ void mull(const Operand& src); |
// Multiply rax by src, put the result in rdx:rax. |
- void mul(Register src); |
+ void mulq(Register src); |
#define DECLARE_SHIFT_INSTRUCTION(instruction, subcode) \ |
void instruction##p(Register dst, Immediate imm8) { \ |
@@ -1473,6 +1476,7 @@ class Assembler : public AssemblerBase { |
// Signed multiply instructions. |
// rdx:rax = rax * src when size is 64 or edx:eax = eax * src when size is 32. |
void emit_imul(Register src, int size); |
+ void emit_imul(const Operand& src, int size); |
void emit_imul(Register dst, Register src, int size); |
void emit_imul(Register dst, const Operand& src, int size); |
void emit_imul(Register dst, Register src, Immediate imm, int size); |