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

Unified Diff: runtime/vm/disassembler_mips.cc

Issue 1425143003: VM: Improve and fix double negation on MIPS. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
Index: runtime/vm/disassembler_mips.cc
diff --git a/runtime/vm/disassembler_mips.cc b/runtime/vm/disassembler_mips.cc
index af84199762f17ca8f67e93fea03418ebbb998ead..aabaafe8e46440fc0908499b98767b764910af1e 100644
--- a/runtime/vm/disassembler_mips.cc
+++ b/runtime/vm/disassembler_mips.cc
@@ -543,6 +543,10 @@ void MIPSDecoder::DecodeCop1(Instr* instr) {
Format(instr, "mov.'fmt 'fd, 'fs");
break;
}
+ case COP1_NEG: {
+ Format(instr, "neg.'fmt 'fd, 'fs");
+ break;
+ }
case COP1_C_F: {
Format(instr, "c.f.'fmt 'fs, 'ft");
break;

Powered by Google App Engine
This is Rietveld 408576698