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

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

Issue 20369003: Implements far branch targets for MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 ASSERT(instr->OpcodeField() == REGIMM); 474 ASSERT(instr->OpcodeField() == REGIMM);
475 switch (instr->RegImmFnField()) { 475 switch (instr->RegImmFnField()) {
476 case BGEZ: { 476 case BGEZ: {
477 Format(instr, "bgez 'rs, 'dest"); 477 Format(instr, "bgez 'rs, 'dest");
478 break; 478 break;
479 } 479 }
480 case BGEZAL: { 480 case BGEZAL: {
481 Format(instr, "bgezal 'rs, 'dest"); 481 Format(instr, "bgezal 'rs, 'dest");
482 break; 482 break;
483 } 483 }
484 case BLTZAL: {
485 Format(instr, "bltzal 'rs, 'dest");
486 break;
487 }
484 case BGEZL: { 488 case BGEZL: {
485 Format(instr, "bgezl 'rs, 'dest"); 489 Format(instr, "bgezl 'rs, 'dest");
486 break; 490 break;
487 } 491 }
488 case BLTZ: { 492 case BLTZ: {
489 Format(instr, "bltz 'rs, 'dest"); 493 Format(instr, "bltz 'rs, 'dest");
490 break; 494 break;
491 } 495 }
492 case BLTZL: { 496 case BLTZL: {
493 Format(instr, "bltzl 'rs, 'dest"); 497 Format(instr, "bltzl 'rs, 'dest");
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 pc); 792 pc);
789 pc += instruction_length; 793 pc += instruction_length;
790 } 794 }
791 795
792 return; 796 return;
793 } 797 }
794 798
795 } // namespace dart 799 } // namespace dart
796 800
797 #endif // defined TARGET_ARCH_MIPS 801 #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