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

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

Issue 14246039: Implements features to run "Hello, world!" on simulated MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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/dart.cc ('k') | runtime/vm/flow_graph_compiler_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 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 break; 589 break;
590 } 590 }
591 case LDC1: { 591 case LDC1: {
592 Format(instr, "ldc1 'ft, 'imms('rs)"); 592 Format(instr, "ldc1 'ft, 'imms('rs)");
593 break; 593 break;
594 } 594 }
595 case LH: { 595 case LH: {
596 Format(instr, "lh 'rt, 'imms('rs)"); 596 Format(instr, "lh 'rt, 'imms('rs)");
597 break; 597 break;
598 } 598 }
599 case LHU: {
600 Format(instr, "lhu 'rt, 'imms('rs)");
601 break;
602 }
599 case LUI: { 603 case LUI: {
600 Format(instr, "lui 'rt, 'immu"); 604 Format(instr, "lui 'rt, 'immu");
601 break; 605 break;
602 } 606 }
603 case LW: { 607 case LW: {
604 Format(instr, "lw 'rt, 'imms('rs)"); 608 Format(instr, "lw 'rt, 'imms('rs)");
605 break; 609 break;
606 } 610 }
607 case LWC1: { 611 case LWC1: {
608 Format(instr, "lwc1 'ft, 'imms('rs)"); 612 Format(instr, "lwc1 'ft, 'imms('rs)");
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 pc); 691 pc);
688 pc += instruction_length; 692 pc += instruction_length;
689 } 693 }
690 694
691 return; 695 return;
692 } 696 }
693 697
694 } // namespace dart 698 } // namespace dart
695 699
696 #endif // defined TARGET_ARCH_MIPS 700 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698