| 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 | 9 |
| 10 #include "platform/assert.h" | 10 #include "platform/assert.h" |
| (...skipping 1302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1313 } else { | 1313 } else { |
| 1314 Format(instr, "vmovr'cond 'rd, 'sn"); | 1314 Format(instr, "vmovr'cond 'rd, 'sn"); |
| 1315 } | 1315 } |
| 1316 } else if ((instr->Bits(22, 3) == 0) && (instr->Bit(20) == 0) && | 1316 } else if ((instr->Bits(22, 3) == 0) && (instr->Bit(20) == 0) && |
| 1317 (instr->Bit(8) == 1) && (instr->Bits(5, 2) == 0)) { | 1317 (instr->Bit(8) == 1) && (instr->Bits(5, 2) == 0)) { |
| 1318 if (instr->Bit(21) == 0) { | 1318 if (instr->Bit(21) == 0) { |
| 1319 Format(instr, "vmovd'cond 'dn[0], 'rd"); | 1319 Format(instr, "vmovd'cond 'dn[0], 'rd"); |
| 1320 } else { | 1320 } else { |
| 1321 Format(instr, "vmovd'cond 'dn[1], 'rd"); | 1321 Format(instr, "vmovd'cond 'dn[1], 'rd"); |
| 1322 } | 1322 } |
| 1323 } else if ((instr->Bits(20, 4) == 0xf) && (instr->Bit(8) == 0) && | 1323 } else if ((instr->Bits(20, 4) == 0xf) && (instr->Bit(8) == 0)) { |
| 1324 (instr->Bits(12, 4) == 0xf)) { | 1324 if (instr->Bits(12, 4) == 0xf) { |
| 1325 Format(instr, "vmstat'cond"); | 1325 Format(instr, "vmrs'cond APSR, FPSCR"); |
| 1326 } else { |
| 1327 Format(instr, "vmrs'cond 'rd, FPSCR"); |
| 1328 } |
| 1326 } else { | 1329 } else { |
| 1327 Unknown(instr); | 1330 Unknown(instr); |
| 1328 } | 1331 } |
| 1329 } | 1332 } |
| 1330 } else { | 1333 } else { |
| 1331 Unknown(instr); | 1334 Unknown(instr); |
| 1332 } | 1335 } |
| 1333 } | 1336 } |
| 1334 | 1337 |
| 1335 | 1338 |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1558 human_buffer, | 1561 human_buffer, |
| 1559 sizeof(human_buffer), | 1562 sizeof(human_buffer), |
| 1560 pc); | 1563 pc); |
| 1561 pc += instruction_length; | 1564 pc += instruction_length; |
| 1562 } | 1565 } |
| 1563 } | 1566 } |
| 1564 | 1567 |
| 1565 } // namespace dart | 1568 } // namespace dart |
| 1566 | 1569 |
| 1567 #endif // defined TARGET_ARCH_ARM | 1570 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |