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

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

Issue 802023002: Fix SLTIU instruction in MIPS assembler, disassembler, and simulator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years 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
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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 } 711 }
712 case SB: { 712 case SB: {
713 Format(instr, "sb 'rt, 'imms('rs)"); 713 Format(instr, "sb 'rt, 'imms('rs)");
714 break; 714 break;
715 } 715 }
716 case SLTI: { 716 case SLTI: {
717 Format(instr, "slti 'rt, 'rs, 'imms"); 717 Format(instr, "slti 'rt, 'rs, 'imms");
718 break; 718 break;
719 } 719 }
720 case SLTIU: { 720 case SLTIU: {
721 Format(instr, "sltu 'rt, 'rs, 'immu"); 721 Format(instr, "sltiu 'rt, 'rs, 'imms");
722 break; 722 break;
723 } 723 }
724 case SH: { 724 case SH: {
725 Format(instr, "sh 'rt, 'imms('rs)"); 725 Format(instr, "sh 'rt, 'imms('rs)");
726 break; 726 break;
727 } 727 }
728 case SDC1: { 728 case SDC1: {
729 Format(instr, "sdc1 'ft, 'imms('rs)"); 729 Format(instr, "sdc1 'ft, 'imms('rs)");
730 break; 730 break;
731 } 731 }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 pc); 792 pc);
793 pc += instruction_length; 793 pc += instruction_length;
794 } 794 }
795 795
796 return; 796 return;
797 } 797 }
798 798
799 } // namespace dart 799 } // namespace dart
800 800
801 #endif // defined TARGET_ARCH_MIPS 801 #endif // defined TARGET_ARCH_MIPS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698