Index: src/arm/disasm-arm.cc |
diff --git a/src/arm/disasm-arm.cc b/src/arm/disasm-arm.cc |
index b84d35535decba180dbefb41c6d85f556c528b20..f55552df5b321fc3c3b5a955984ca8a163c744a8 100644 |
--- a/src/arm/disasm-arm.cc |
+++ b/src/arm/disasm-arm.cc |
@@ -1102,6 +1102,7 @@ int Decoder::DecodeType7(Instruction* instr) { |
// vmov: Rt = Sn |
// vcvt: Dd = Sm |
// vcvt: Sd = Dm |
+// vcvt.f64.s32 Dd, Dd, #<fbits> |
// Dd = vabs(Dm) |
// Dd = vneg(Dm) |
// Dd = vadd(Dn, Dm) |
@@ -1138,6 +1139,13 @@ void Decoder::DecodeTypeVFP(Instruction* instr) { |
DecodeVCVTBetweenDoubleAndSingle(instr); |
} else if ((instr->Opc2Value() == 0x8) && (instr->Opc3Value() & 0x1)) { |
DecodeVCVTBetweenFloatingPointAndInteger(instr); |
+ } else if ((instr->Opc2Value() == 0xA) && (instr->Opc3Value() == 0x3) && |
+ (instr->Bit(8) == 1)) { |
+ // vcvt.f64.s32 Dd, Dd, #<fbits> |
+ int fraction_bits = 32 - ((instr->Bit(5) << 4) | instr->Bits(3, 0)); |
+ Format(instr, "vcvt'cond.f64.s32 'Dd, 'Dd"); |
+ out_buffer_pos_ += OS::SNPrintF(out_buffer_ + out_buffer_pos_, |
+ ", #%d", fraction_bits); |
} else if (((instr->Opc2Value() >> 1) == 0x6) && |
(instr->Opc3Value() & 0x1)) { |
DecodeVCVTBetweenFloatingPointAndInteger(instr); |