| 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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 break; | 678 break; |
| 679 } | 679 } |
| 680 case ORI: { | 680 case ORI: { |
| 681 Format(instr, "ori 'rt, 'rs, 'immu"); | 681 Format(instr, "ori 'rt, 'rs, 'immu"); |
| 682 break; | 682 break; |
| 683 } | 683 } |
| 684 case SB: { | 684 case SB: { |
| 685 Format(instr, "sb 'rt, 'imms('rs)"); | 685 Format(instr, "sb 'rt, 'imms('rs)"); |
| 686 break; | 686 break; |
| 687 } | 687 } |
| 688 case SLTI: { |
| 689 Format(instr, "slti 'rt, 'rs, 'imms"); |
| 690 break; |
| 691 } |
| 692 case SLTIU: { |
| 693 Format(instr, "sltu 'rt, 'rs, 'immu"); |
| 694 break; |
| 695 } |
| 688 case SH: { | 696 case SH: { |
| 689 Format(instr, "sh 'rt, 'imms('rs)"); | 697 Format(instr, "sh 'rt, 'imms('rs)"); |
| 690 break; | 698 break; |
| 691 } | 699 } |
| 692 case SDC1: { | 700 case SDC1: { |
| 693 Format(instr, "sdc1 'ft, 'imms('rs)"); | 701 Format(instr, "sdc1 'ft, 'imms('rs)"); |
| 694 break; | 702 break; |
| 695 } | 703 } |
| 696 case SW: { | 704 case SW: { |
| 697 Format(instr, "sw 'rt, 'imms('rs)"); | 705 Format(instr, "sw 'rt, 'imms('rs)"); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 pc); | 764 pc); |
| 757 pc += instruction_length; | 765 pc += instruction_length; |
| 758 } | 766 } |
| 759 | 767 |
| 760 return; | 768 return; |
| 761 } | 769 } |
| 762 | 770 |
| 763 } // namespace dart | 771 } // namespace dart |
| 764 | 772 |
| 765 #endif // defined TARGET_ARCH_MIPS | 773 #endif // defined TARGET_ARCH_MIPS |
| OLD | NEW |