Index: src/arm/disasm-arm.cc |
diff --git a/src/arm/disasm-arm.cc b/src/arm/disasm-arm.cc |
index 041df55858f16589773a172ac666e66027c76349..761192f59d795f27c21e8d8982fff100303cf3c1 100644 |
--- a/src/arm/disasm-arm.cc |
+++ b/src/arm/disasm-arm.cc |
@@ -1867,10 +1867,10 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
Vm = instr->VFPMRegValue(kSimd128Precision); |
Vn = instr->VFPNRegValue(kSimd128Precision); |
} |
+ int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
switch (instr->Bits(11, 8)) { |
case 0x0: { |
if (instr->Bit(4) == 1) { |
- int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
// vqadd.s<size> Qd, Qm, Qn. |
out_buffer_pos_ += |
SNPrintF(out_buffer_ + out_buffer_pos_, |
@@ -1904,7 +1904,6 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
} |
case 0x2: { |
if (instr->Bit(4) == 1) { |
- int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
// vqsub.s<size> Qd, Qm, Qn. |
out_buffer_pos_ += |
SNPrintF(out_buffer_ + out_buffer_pos_, |
@@ -1915,7 +1914,6 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
break; |
} |
case 0x3: { |
- int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
const char* op = (instr->Bit(4) == 1) ? "vcge" : "vcgt"; |
// vcge/vcgt.s<size> Qd, Qm, Qn. |
out_buffer_pos_ += |
@@ -1924,7 +1922,6 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
break; |
} |
case 0x6: { |
- int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
// vmin/vmax.s<size> Qd, Qm, Qn. |
const char* op = instr->Bit(4) == 1 ? "vmin" : "vmax"; |
out_buffer_pos_ += |
@@ -1934,7 +1931,6 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
} |
case 0x8: { |
const char* op = (instr->Bit(4) == 0) ? "vadd" : "vtst"; |
- int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
// vadd/vtst.i<size> Qd, Qm, Qn. |
out_buffer_pos_ += |
SNPrintF(out_buffer_ + out_buffer_pos_, "%s.i%d q%d, q%d, q%d", |
@@ -1943,7 +1939,6 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
} |
case 0x9: { |
if (instr->Bit(6) == 1 && instr->Bit(4) == 1) { |
- int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
// vmul.i<size> Qd, Qm, Qn. |
out_buffer_pos_ += |
SNPrintF(out_buffer_ + out_buffer_pos_, |
@@ -1953,6 +1948,14 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
} |
break; |
} |
+ case 0xa: { |
+ // vpmin/vpmax.s<size> Dd, Dm, Dn. |
+ const char* op = instr->Bit(4) == 1 ? "vpmin" : "vpmax"; |
+ out_buffer_pos_ += |
+ SNPrintF(out_buffer_ + out_buffer_pos_, "%s.s%d d%d, d%d, d%d", |
+ op, size, Vd, Vn, Vm); |
+ break; |
+ } |
case 0xd: { |
if (instr->Bit(4) == 0) { |
const char* op = (instr->Bits(21, 20) == 0) ? "vadd" : "vsub"; |
@@ -2052,10 +2055,10 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
Vm = instr->VFPMRegValue(kSimd128Precision); |
Vn = instr->VFPNRegValue(kSimd128Precision); |
} |
+ int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
switch (instr->Bits(11, 8)) { |
case 0x0: { |
if (instr->Bit(4) == 1) { |
- int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
// vqadd.u<size> Qd, Qm, Qn. |
out_buffer_pos_ += |
SNPrintF(out_buffer_ + out_buffer_pos_, |
@@ -2087,7 +2090,6 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
} |
case 0x2: { |
if (instr->Bit(4) == 1) { |
- int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
// vqsub.u<size> Qd, Qm, Qn. |
out_buffer_pos_ += |
SNPrintF(out_buffer_ + out_buffer_pos_, |
@@ -2098,7 +2100,6 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
break; |
} |
case 0x3: { |
- int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
const char* op = (instr->Bit(4) == 1) ? "vcge" : "vcgt"; |
// vcge/vcgt.u<size> Qd, Qm, Qn. |
out_buffer_pos_ += |
@@ -2107,7 +2108,6 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
break; |
} |
case 0x6: { |
- int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
// vmin/vmax.u<size> Qd, Qm, Qn. |
const char* op = instr->Bit(4) == 1 ? "vmin" : "vmax"; |
out_buffer_pos_ += |
@@ -2116,7 +2116,6 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
break; |
} |
case 0x8: { |
- int size = kBitsPerByte * (1 << instr->Bits(21, 20)); |
if (instr->Bit(4) == 0) { |
out_buffer_pos_ += |
SNPrintF(out_buffer_ + out_buffer_pos_, |
@@ -2128,6 +2127,14 @@ void Decoder::DecodeSpecialCondition(Instruction* instr) { |
} |
break; |
} |
+ case 0xa: { |
+ // vpmin/vpmax.u<size> Dd, Dm, Dn. |
+ const char* op = instr->Bit(4) == 1 ? "vpmin" : "vpmax"; |
+ out_buffer_pos_ += |
+ SNPrintF(out_buffer_ + out_buffer_pos_, "%s.u%d d%d, d%d, d%d", |
+ op, size, Vd, Vn, Vm); |
+ break; |
+ } |
case 0xd: { |
if (instr->Bit(21) == 0 && instr->Bit(6) == 1 && instr->Bit(4) == 1) { |
// vmul.f32 Qd, Qn, Qm |