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

Unified Diff: runtime/vm/disassembler_mips.cc

Issue 16272004: Implements intrinsics for 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/constants_mips.h ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/disassembler_mips.cc
===================================================================
--- runtime/vm/disassembler_mips.cc (revision 23484)
+++ runtime/vm/disassembler_mips.cc (working copy)
@@ -337,6 +337,14 @@
Format(instr, "movz 'rd, 'rs, 'rt");
break;
}
+ case MTHI: {
+ Format(instr, "mthi 'rs");
+ break;
+ }
+ case MTLO: {
+ Format(instr, "mtlo 'rs");
+ break;
+ }
case MULT: {
Format(instr, "mult 'rs, 'rt");
break;
@@ -430,6 +438,14 @@
void MIPSDecoder::DecodeSpecial2(Instr* instr) {
ASSERT(instr->OpcodeField() == SPECIAL2);
switch (instr->FunctionField()) {
+ case MADD: {
+ Format(instr, "madd 'rs, 'rt");
+ break;
+ }
+ case MADDU: {
+ Format(instr, "maddu 'rs, 'rt");
+ break;
+ }
case CLO: {
Format(instr, "clo 'rd, 'rs");
break;
« 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