Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index dfd51a4bedfc4990778778e3b36bbc2bebb77e14..0bcdf24d6f0f236900ca9be05b9ddacfba2e082d 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -1401,6 +1401,15 @@ void Assembler::movsxbq(Register dst, const Operand& src) { |
} |
+void Assembler::movsxwl(Register dst, Register src) { |
+ EnsureSpace ensure_space(this); |
+ emit_optional_rex_32(dst, src); |
+ emit(0x0F); |
+ emit(0xBF); |
+ emit_modrm(dst, src); |
+} |
+ |
+ |
void Assembler::movsxwl(Register dst, const Operand& src) { |
EnsureSpace ensure_space(this); |
emit_optional_rex_32(dst, src); |