Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Side by Side Diff: runtime/vm/disassembler_mips.cc

Issue 15144004: Implements int to double conversion instructions for MIPS simulator, assembler, disassembler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/constants_mips.h ('k') | runtime/vm/simulator_mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « runtime/vm/constants_mips.h ('k') | runtime/vm/simulator_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698