| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/disassembler.h" | 5 #include "vm/disassembler.h" |
| 6 | 6 |
| 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. | 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
| 8 #if defined(TARGET_ARCH_ARM) | 8 #if defined(TARGET_ARCH_ARM) |
| 9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 10 | 10 |
| (...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1372 int32_t imm4 = instr->Bits(16, 4); | 1372 int32_t imm4 = instr->Bits(16, 4); |
| 1373 if (imm4 & 1) { | 1373 if (imm4 & 1) { |
| 1374 Format(instr, "vdupb 'qd, 'dm['imm4_vdup]"); | 1374 Format(instr, "vdupb 'qd, 'dm['imm4_vdup]"); |
| 1375 } else if (imm4 & 2) { | 1375 } else if (imm4 & 2) { |
| 1376 Format(instr, "vduph 'qd, 'dm['imm4_vdup]"); | 1376 Format(instr, "vduph 'qd, 'dm['imm4_vdup]"); |
| 1377 } else if (imm4 & 4) { | 1377 } else if (imm4 & 4) { |
| 1378 Format(instr, "vdupw 'qd, 'dm['imm4_vdup]"); | 1378 Format(instr, "vdupw 'qd, 'dm['imm4_vdup]"); |
| 1379 } else { | 1379 } else { |
| 1380 Unknown(instr); | 1380 Unknown(instr); |
| 1381 } | 1381 } |
| 1382 } else if ((instr->Bits(8, 4) == 1) && (instr->Bit(4) == 0) && |
| 1383 (instr->Bits(20, 2) == 3) && (instr->Bits(23, 2) == 3) && |
| 1384 (instr->Bit(7) == 1) && (instr->Bits(16, 4) == 10)) { |
| 1385 Format(instr, "vzipqw 'qd, 'qm"); |
| 1382 } else if ((instr->Bits(8, 4) == 8) && (instr->Bit(4) == 1) && | 1386 } else if ((instr->Bits(8, 4) == 8) && (instr->Bit(4) == 1) && |
| 1383 (instr->Bits(23, 2) == 2)) { | 1387 (instr->Bits(23, 2) == 2)) { |
| 1384 Format(instr, "vceqq'sz 'qd, 'qn, 'qm"); | 1388 Format(instr, "vceqq'sz 'qd, 'qn, 'qm"); |
| 1385 } else if ((instr->Bits(8, 4) == 14) && (instr->Bit(4) == 0) && | 1389 } else if ((instr->Bits(8, 4) == 14) && (instr->Bit(4) == 0) && |
| 1386 (instr->Bits(20, 2) == 0) && (instr->Bits(23, 2) == 0)) { | 1390 (instr->Bits(20, 2) == 0) && (instr->Bits(23, 2) == 0)) { |
| 1387 Format(instr, "vceqqs 'qd, 'qn, 'qm"); | 1391 Format(instr, "vceqqs 'qd, 'qn, 'qm"); |
| 1388 } else if ((instr->Bits(8, 4) == 3) && (instr->Bit(4) == 1) && | 1392 } else if ((instr->Bits(8, 4) == 3) && (instr->Bit(4) == 1) && |
| 1389 (instr->Bits(23, 2) == 0)) { | 1393 (instr->Bits(23, 2) == 0)) { |
| 1390 Format(instr, "vcgeq'sz 'qd, 'qn, 'qm"); | 1394 Format(instr, "vcgeq'sz 'qd, 'qn, 'qm"); |
| 1391 } else if ((instr->Bits(8, 4) == 3) && (instr->Bit(4) == 1) && | 1395 } else if ((instr->Bits(8, 4) == 3) && (instr->Bit(4) == 1) && |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1512 human_buffer, | 1516 human_buffer, |
| 1513 sizeof(human_buffer), | 1517 sizeof(human_buffer), |
| 1514 pc); | 1518 pc); |
| 1515 pc += instruction_length; | 1519 pc += instruction_length; |
| 1516 } | 1520 } |
| 1517 } | 1521 } |
| 1518 | 1522 |
| 1519 } // namespace dart | 1523 } // namespace dart |
| 1520 | 1524 |
| 1521 #endif // defined TARGET_ARCH_ARM | 1525 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |