Index: src/arm/disasm-arm.cc |
diff --git a/src/arm/disasm-arm.cc b/src/arm/disasm-arm.cc |
index 49e4126b32685d8329ed5fbe4b16f1103b92d192..0d9f7ec9b14e4f0f69b9a986cacd9e7e9fea8c49 100644 |
--- a/src/arm/disasm-arm.cc |
+++ b/src/arm/disasm-arm.cc |
@@ -1566,7 +1566,8 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
if ((instr->Bits(18, 16) == 0) && (instr->Bits(11, 6) == 0x28) && |
(instr->Bit(4) == 1)) { |
// vmovl signed |
- int Vd = (instr->Bit(22) << 4) | instr->VdValue(); |
+ if ((instr->VdValue() & 1) != 0) Unknown(instr); |
+ int Vd = (instr->Bit(22) << 3) | (instr->VdValue() >> 1); |
int Vm = (instr->Bit(5) << 4) | instr->VmValue(); |
int imm3 = instr->Bits(21, 19); |
out_buffer_pos_ += OS::SNPrintF(out_buffer_ + out_buffer_pos_, |
@@ -1579,7 +1580,8 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
if ((instr->Bits(18, 16) == 0) && (instr->Bits(11, 6) == 0x28) && |
(instr->Bit(4) == 1)) { |
// vmovl unsigned |
- int Vd = (instr->Bit(22) << 4) | instr->VdValue(); |
+ if ((instr->VdValue() & 1) != 0) Unknown(instr); |
+ int Vd = (instr->Bit(22) << 3) | (instr->VdValue() >> 1); |
int Vm = (instr->Bit(5) << 4) | instr->VmValue(); |
int imm3 = instr->Bits(21, 19); |
out_buffer_pos_ += OS::SNPrintF(out_buffer_ + out_buffer_pos_, |