Index: src/ia32/disasm-ia32.cc |
diff --git a/src/ia32/disasm-ia32.cc b/src/ia32/disasm-ia32.cc |
index 10dcb23f548a99b63ddcef6b42999881bd058b2d..008fdde7ea188b1e8607402ab6712c831810eb39 100644 |
--- a/src/ia32/disasm-ia32.cc |
+++ b/src/ia32/disasm-ia32.cc |
@@ -1472,6 +1472,7 @@ int DisassemblerIA32::InstructionDecode(v8::internal::Vector<char> out_buffer, |
switch (b2) { |
case 0x2A: mnem = "cvtsi2sd"; break; |
case 0x2C: mnem = "cvttsd2si"; break; |
+ case 0x2D: mnem = "cvtsd2si"; break; |
case 0x51: mnem = "sqrtsd"; break; |
case 0x58: mnem = "addsd"; break; |
case 0x59: mnem = "mulsd"; break; |
@@ -1484,7 +1485,7 @@ int DisassemblerIA32::InstructionDecode(v8::internal::Vector<char> out_buffer, |
if (b2 == 0x2A) { |
AppendToBuffer("%s %s,", mnem, NameOfXMMRegister(regop)); |
data += PrintRightOperand(data); |
- } else if (b2 == 0x2C) { |
+ } else if (b2 == 0x2C || b2 == 0x2D) { |
AppendToBuffer("%s %s,", mnem, NameOfCPURegister(regop)); |
data += PrintRightXMMOperand(data); |
} else if (b2 == 0xC2) { |