Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index e7784259707cb1a046a8bf221d0ecc404bc131e5..d263268b1634415c207f5e4fa622a013ccbdc5cb 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); |