| 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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 case 3: { | 631 case 3: { |
| 632 // Assembler registers rd, rn, rm, ra are encoded as rn, rm, rs, rd. | 632 // Assembler registers rd, rn, rm, ra are encoded as rn, rm, rs, rd. |
| 633 Format(instr, "mls'cond's 'rn, 'rm, 'rs, 'rd"); | 633 Format(instr, "mls'cond's 'rn, 'rm, 'rs, 'rd"); |
| 634 break; | 634 break; |
| 635 } | 635 } |
| 636 case 4: { | 636 case 4: { |
| 637 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs. | 637 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs. |
| 638 Format(instr, "umull'cond's 'rd, 'rn, 'rm, 'rs"); | 638 Format(instr, "umull'cond's 'rd, 'rn, 'rm, 'rs"); |
| 639 break; | 639 break; |
| 640 } | 640 } |
| 641 case 5: { |
| 642 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs. |
| 643 Format(instr, "umlal'cond's 'rd, 'rn, 'rm, 'rs"); |
| 644 break; |
| 645 } |
| 641 case 6: { | 646 case 6: { |
| 642 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs. | 647 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs. |
| 643 Format(instr, "smull'cond's 'rd, 'rn, 'rm, 'rs"); | 648 Format(instr, "smull'cond's 'rd, 'rn, 'rm, 'rs"); |
| 644 break; | 649 break; |
| 645 } | 650 } |
| 646 case 7: { | 651 case 7: { |
| 647 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs. | 652 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs. |
| 648 Format(instr, "smlal'cond's 'rd, 'rn, 'rm, 'rs"); | 653 Format(instr, "smlal'cond's 'rd, 'rn, 'rm, 'rs"); |
| 649 break; | 654 break; |
| 650 } | 655 } |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1309 human_buffer, | 1314 human_buffer, |
| 1310 sizeof(human_buffer), | 1315 sizeof(human_buffer), |
| 1311 pc); | 1316 pc); |
| 1312 pc += instruction_length; | 1317 pc += instruction_length; |
| 1313 } | 1318 } |
| 1314 } | 1319 } |
| 1315 | 1320 |
| 1316 } // namespace dart | 1321 } // namespace dart |
| 1317 | 1322 |
| 1318 #endif // defined TARGET_ARCH_ARM | 1323 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |