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

Unified Diff: runtime/vm/disassembler_mips.cc

Issue 15038008: Impelemnts some FPU arithmetic function for the MIPS simulator, assembler, disassembler. (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/simulator_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 22804)
+++ runtime/vm/disassembler_mips.cc (working copy)
@@ -486,6 +486,22 @@
Format(instr, "add.'fmt 'fd, 'fs, 'ft");
break;
}
+ case COP1_SUB: {
+ Format(instr, "sub.'fmt 'fd, 'fs, 'ft");
+ break;
+ }
+ case COP1_MUL: {
+ Format(instr, "mul.'fmt 'fd, 'fs, 'ft");
+ break;
+ }
+ case COP1_DIV: {
+ Format(instr, "div.'fmt 'fd, 'fs, 'ft");
+ break;
+ }
+ case COP1_SQRT: {
+ Format(instr, "sqrt.'fmt 'fd, 'fs");
+ break;
+ }
case COP1_MOV: {
Format(instr, "mov.'fmt 'fd, 'fs");
break;
@@ -526,6 +542,10 @@
Format(instr, "cvt.d.'fmt 'fd, 'fs");
break;
}
+ case COP1_CVT_W: {
+ Format(instr, "cvt.w.'fmt 'fd, 'fs");
+ break;
+ }
default: {
Unknown(instr);
break;
« no previous file with comments | « runtime/vm/constants_mips.h ('k') | runtime/vm/simulator_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698