| 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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 ASSERT(instr->OpcodeField() == REGIMM); | 474 ASSERT(instr->OpcodeField() == REGIMM); |
| 475 switch (instr->RegImmFnField()) { | 475 switch (instr->RegImmFnField()) { |
| 476 case BGEZ: { | 476 case BGEZ: { |
| 477 Format(instr, "bgez 'rs, 'dest"); | 477 Format(instr, "bgez 'rs, 'dest"); |
| 478 break; | 478 break; |
| 479 } | 479 } |
| 480 case BGEZAL: { | 480 case BGEZAL: { |
| 481 Format(instr, "bgezal 'rs, 'dest"); | 481 Format(instr, "bgezal 'rs, 'dest"); |
| 482 break; | 482 break; |
| 483 } | 483 } |
| 484 case BLTZAL: { |
| 485 Format(instr, "bltzal 'rs, 'dest"); |
| 486 break; |
| 487 } |
| 484 case BGEZL: { | 488 case BGEZL: { |
| 485 Format(instr, "bgezl 'rs, 'dest"); | 489 Format(instr, "bgezl 'rs, 'dest"); |
| 486 break; | 490 break; |
| 487 } | 491 } |
| 488 case BLTZ: { | 492 case BLTZ: { |
| 489 Format(instr, "bltz 'rs, 'dest"); | 493 Format(instr, "bltz 'rs, 'dest"); |
| 490 break; | 494 break; |
| 491 } | 495 } |
| 492 case BLTZL: { | 496 case BLTZL: { |
| 493 Format(instr, "bltzl 'rs, 'dest"); | 497 Format(instr, "bltzl 'rs, 'dest"); |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 pc); | 792 pc); |
| 789 pc += instruction_length; | 793 pc += instruction_length; |
| 790 } | 794 } |
| 791 | 795 |
| 792 return; | 796 return; |
| 793 } | 797 } |
| 794 | 798 |
| 795 } // namespace dart | 799 } // namespace dart |
| 796 | 800 |
| 797 #endif // defined TARGET_ARCH_MIPS | 801 #endif // defined TARGET_ARCH_MIPS |
| OLD | NEW |