| 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 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 case 0: { | 707 case 0: { |
| 708 // Assembler registers rd, rn, rm are encoded as rn, rm, rs. | 708 // Assembler registers rd, rn, rm are encoded as rn, rm, rs. |
| 709 Format(instr, "mul'cond's 'rn, 'rm, 'rs"); | 709 Format(instr, "mul'cond's 'rn, 'rm, 'rs"); |
| 710 break; | 710 break; |
| 711 } | 711 } |
| 712 case 1: { | 712 case 1: { |
| 713 // Assembler registers rd, rn, rm, ra are encoded as rn, rm, rs, rd. | 713 // Assembler registers rd, rn, rm, ra are encoded as rn, rm, rs, rd. |
| 714 Format(instr, "mla'cond's 'rn, 'rm, 'rs, 'rd"); | 714 Format(instr, "mla'cond's 'rn, 'rm, 'rs, 'rd"); |
| 715 break; | 715 break; |
| 716 } | 716 } |
| 717 case 2: { |
| 718 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs. |
| 719 Format(instr, "umaal'cond's 'rd, 'rn, 'rm, 'rs"); |
| 720 break; |
| 721 } |
| 717 case 3: { | 722 case 3: { |
| 718 // Assembler registers rd, rn, rm, ra are encoded as rn, rm, rs, rd. | 723 // Assembler registers rd, rn, rm, ra are encoded as rn, rm, rs, rd. |
| 719 Format(instr, "mls'cond's 'rn, 'rm, 'rs, 'rd"); | 724 Format(instr, "mls'cond's 'rn, 'rm, 'rs, 'rd"); |
| 720 break; | 725 break; |
| 721 } | 726 } |
| 722 case 4: { | 727 case 4: { |
| 723 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs. | 728 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs. |
| 724 Format(instr, "umull'cond's 'rd, 'rn, 'rm, 'rs"); | 729 Format(instr, "umull'cond's 'rd, 'rn, 'rm, 'rs"); |
| 725 break; | 730 break; |
| 726 } | 731 } |
| (...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1553 human_buffer, | 1558 human_buffer, |
| 1554 sizeof(human_buffer), | 1559 sizeof(human_buffer), |
| 1555 pc); | 1560 pc); |
| 1556 pc += instruction_length; | 1561 pc += instruction_length; |
| 1557 } | 1562 } |
| 1558 } | 1563 } |
| 1559 | 1564 |
| 1560 } // namespace dart | 1565 } // namespace dart |
| 1561 | 1566 |
| 1562 #endif // defined TARGET_ARCH_ARM | 1567 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |