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

Unified Diff: runtime/vm/disassembler_mips.cc

Issue 1765623002: Use TRUNC.W instead of CVT.W on mips to convert from double to int as to not (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments Created 4 years, 10 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/intermediate_language_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
diff --git a/runtime/vm/disassembler_mips.cc b/runtime/vm/disassembler_mips.cc
index b9e0987e1ca8231632dbe50ee078ec7b021c0027..22fe462d8c61cad887882441826402679208a452 100644
--- a/runtime/vm/disassembler_mips.cc
+++ b/runtime/vm/disassembler_mips.cc
@@ -581,12 +581,16 @@ void MIPSDecoder::DecodeCop1(Instr* instr) {
Format(instr, "c.ule.'fmt 'fs, 'ft");
break;
}
- case COP1_CVT_D: {
- Format(instr, "cvt.d.'fmt 'fd, 'fs");
+ case COP1_TRUNC_W: {
+ Format(instr, "trunc.w.'fmt 'fd, 'fs");
+ break;
+ }
+ case COP1_CVT_S: {
+ Format(instr, "cvt.s.'fmt 'fd, 'fs");
break;
}
- case COP1_CVT_W: {
- Format(instr, "cvt.w.'fmt 'fd, 'fs");
+ case COP1_CVT_D: {
+ Format(instr, "cvt.d.'fmt 'fd, 'fs");
break;
}
default: {
« no previous file with comments | « runtime/vm/constants_mips.h ('k') | runtime/vm/intermediate_language_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698