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

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

Issue 16022011: Enables optimization on MIPS (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/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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 break; 678 break;
679 } 679 }
680 case ORI: { 680 case ORI: {
681 Format(instr, "ori 'rt, 'rs, 'immu"); 681 Format(instr, "ori 'rt, 'rs, 'immu");
682 break; 682 break;
683 } 683 }
684 case SB: { 684 case SB: {
685 Format(instr, "sb 'rt, 'imms('rs)"); 685 Format(instr, "sb 'rt, 'imms('rs)");
686 break; 686 break;
687 } 687 }
688 case SLTI: {
689 Format(instr, "slti 'rt, 'rs, 'imms");
690 break;
691 }
692 case SLTIU: {
693 Format(instr, "sltu 'rt, 'rs, 'immu");
694 break;
695 }
688 case SH: { 696 case SH: {
689 Format(instr, "sh 'rt, 'imms('rs)"); 697 Format(instr, "sh 'rt, 'imms('rs)");
690 break; 698 break;
691 } 699 }
692 case SDC1: { 700 case SDC1: {
693 Format(instr, "sdc1 'ft, 'imms('rs)"); 701 Format(instr, "sdc1 'ft, 'imms('rs)");
694 break; 702 break;
695 } 703 }
696 case SW: { 704 case SW: {
697 Format(instr, "sw 'rt, 'imms('rs)"); 705 Format(instr, "sw 'rt, 'imms('rs)");
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 pc); 764 pc);
757 pc += instruction_length; 765 pc += instruction_length;
758 } 766 }
759 767
760 return; 768 return;
761 } 769 }
762 770
763 } // namespace dart 771 } // namespace dart
764 772
765 #endif // defined TARGET_ARCH_MIPS 773 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/constants_mips.h ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698