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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 break; | 536 break; |
537 } | 537 } |
538 case COP1_SQRT: { | 538 case COP1_SQRT: { |
539 Format(instr, "sqrt.'fmt 'fd, 'fs"); | 539 Format(instr, "sqrt.'fmt 'fd, 'fs"); |
540 break; | 540 break; |
541 } | 541 } |
542 case COP1_MOV: { | 542 case COP1_MOV: { |
543 Format(instr, "mov.'fmt 'fd, 'fs"); | 543 Format(instr, "mov.'fmt 'fd, 'fs"); |
544 break; | 544 break; |
545 } | 545 } |
| 546 case COP1_NEG: { |
| 547 Format(instr, "neg.'fmt 'fd, 'fs"); |
| 548 break; |
| 549 } |
546 case COP1_C_F: { | 550 case COP1_C_F: { |
547 Format(instr, "c.f.'fmt 'fs, 'ft"); | 551 Format(instr, "c.f.'fmt 'fs, 'ft"); |
548 break; | 552 break; |
549 } | 553 } |
550 case COP1_C_UN: { | 554 case COP1_C_UN: { |
551 Format(instr, "c.un.'fmt 'fs, 'ft"); | 555 Format(instr, "c.un.'fmt 'fs, 'ft"); |
552 break; | 556 break; |
553 } | 557 } |
554 case COP1_C_EQ: { | 558 case COP1_C_EQ: { |
555 Format(instr, "c.eq.'fmt 'fs, 'ft"); | 559 Format(instr, "c.eq.'fmt 'fs, 'ft"); |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 decoder.InstructionDecode(instr); | 770 decoder.InstructionDecode(instr); |
767 OS::SNPrint(hex_buffer, hex_size, "%08x", instr->InstructionBits()); | 771 OS::SNPrint(hex_buffer, hex_size, "%08x", instr->InstructionBits()); |
768 if (out_instr_len) { | 772 if (out_instr_len) { |
769 *out_instr_len = Instr::kInstrSize; | 773 *out_instr_len = Instr::kInstrSize; |
770 } | 774 } |
771 } | 775 } |
772 | 776 |
773 } // namespace dart | 777 } // namespace dart |
774 | 778 |
775 #endif // defined TARGET_ARCH_MIPS | 779 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |