Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 63f0533cd11395f14049e328174bd3c89e8c0b25..8ca37d4eaf2e4e6c69454c327dfdbac544905cf6 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -1065,6 +1065,14 @@ void Assembler::imul(Register dst, Register src, Immediate imm) { |
} |
+void Assembler::imull(Register src) { |
+ EnsureSpace ensure_space(this); |
+ emit_optional_rex_32(src); |
+ emit(0xF7); |
+ emit_modrm(0x5, src); |
+} |
+ |
+ |
void Assembler::imull(Register dst, Register src) { |
EnsureSpace ensure_space(this); |
emit_optional_rex_32(dst, src); |