| 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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 break; | 515 break; |
| 516 } | 516 } |
| 517 case COP1_C_OLE: { | 517 case COP1_C_OLE: { |
| 518 Format(instr, "c.ole.'fmt 'fd, 'fs"); | 518 Format(instr, "c.ole.'fmt 'fd, 'fs"); |
| 519 break; | 519 break; |
| 520 } | 520 } |
| 521 case COP1_C_ULE: { | 521 case COP1_C_ULE: { |
| 522 Format(instr, "c.ule.'fmt 'fd, 'fs"); | 522 Format(instr, "c.ule.'fmt 'fd, 'fs"); |
| 523 break; | 523 break; |
| 524 } | 524 } |
| 525 case COP1_CVT_D: { |
| 526 Format(instr, "cvt.d.'fmt 'fd, 'fs"); |
| 527 break; |
| 528 } |
| 525 default: { | 529 default: { |
| 526 Unknown(instr); | 530 Unknown(instr); |
| 527 break; | 531 break; |
| 528 } | 532 } |
| 529 } | 533 } |
| 530 } else { | 534 } else { |
| 531 // If the rs field isn't a valid format, then it must be a sub-opcode. | 535 // If the rs field isn't a valid format, then it must be a sub-opcode. |
| 532 switch (instr->Cop1SubField()) { | 536 switch (instr->Cop1SubField()) { |
| 533 case COP1_MF: { | 537 case COP1_MF: { |
| 534 if (instr->Bits(0, 11) != 0) { | 538 if (instr->Bits(0, 11) != 0) { |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 pc); | 736 pc); |
| 733 pc += instruction_length; | 737 pc += instruction_length; |
| 734 } | 738 } |
| 735 | 739 |
| 736 return; | 740 return; |
| 737 } | 741 } |
| 738 | 742 |
| 739 } // namespace dart | 743 } // namespace dart |
| 740 | 744 |
| 741 #endif // defined TARGET_ARCH_MIPS | 745 #endif // defined TARGET_ARCH_MIPS |
| OLD | NEW |