| 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_MIPS. | 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS. |
| 8 #if defined(TARGET_ARCH_MIPS) | 8 #if defined(TARGET_ARCH_MIPS) |
| 9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 10 | 10 |
| (...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 break; | 589 break; |
| 590 } | 590 } |
| 591 case LDC1: { | 591 case LDC1: { |
| 592 Format(instr, "ldc1 'ft, 'imms('rs)"); | 592 Format(instr, "ldc1 'ft, 'imms('rs)"); |
| 593 break; | 593 break; |
| 594 } | 594 } |
| 595 case LH: { | 595 case LH: { |
| 596 Format(instr, "lh 'rt, 'imms('rs)"); | 596 Format(instr, "lh 'rt, 'imms('rs)"); |
| 597 break; | 597 break; |
| 598 } | 598 } |
| 599 case LHU: { |
| 600 Format(instr, "lhu 'rt, 'imms('rs)"); |
| 601 break; |
| 602 } |
| 599 case LUI: { | 603 case LUI: { |
| 600 Format(instr, "lui 'rt, 'immu"); | 604 Format(instr, "lui 'rt, 'immu"); |
| 601 break; | 605 break; |
| 602 } | 606 } |
| 603 case LW: { | 607 case LW: { |
| 604 Format(instr, "lw 'rt, 'imms('rs)"); | 608 Format(instr, "lw 'rt, 'imms('rs)"); |
| 605 break; | 609 break; |
| 606 } | 610 } |
| 607 case LWC1: { | 611 case LWC1: { |
| 608 Format(instr, "lwc1 'ft, 'imms('rs)"); | 612 Format(instr, "lwc1 'ft, 'imms('rs)"); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 pc); | 691 pc); |
| 688 pc += instruction_length; | 692 pc += instruction_length; |
| 689 } | 693 } |
| 690 | 694 |
| 691 return; | 695 return; |
| 692 } | 696 } |
| 693 | 697 |
| 694 } // namespace dart | 698 } // namespace dart |
| 695 | 699 |
| 696 #endif // defined TARGET_ARCH_MIPS | 700 #endif // defined TARGET_ARCH_MIPS |
| OLD | NEW |