Index: src/x64/disasm-x64.cc |
diff --git a/src/x64/disasm-x64.cc b/src/x64/disasm-x64.cc |
index 367753062ae6482bcdcc922195b0b5969608f34e..84be654c55a518a7f4102698209f9b53796250d7 100644 |
--- a/src/x64/disasm-x64.cc |
+++ b/src/x64/disasm-x64.cc |
@@ -1042,8 +1042,8 @@ int DisassemblerX64::AVXInstruction(byte* data) { |
AppendToBuffer(",%s", NameOfXMMRegister(regop)); |
break; |
case 0x2a: |
- AppendToBuffer("vcvtlsi2sd %s,%s,", NameOfXMMRegister(regop), |
- NameOfXMMRegister(vvvv)); |
+ AppendToBuffer("%s %s,%s,", vex_w() ? "vcvtqsi2sd" : "vcvtlsi2sd", |
+ NameOfXMMRegister(regop), NameOfXMMRegister(vvvv)); |
current += PrintRightOperand(current); |
break; |
case 0x2c: |