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

Unified Diff: src/mips/disasm-mips.cc

Issue 605113002: MIPS: Add cvt_d_s to disassembler. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mips/disasm-mips.cc
diff --git a/src/mips/disasm-mips.cc b/src/mips/disasm-mips.cc
index 564627e460c7ba0a784d1b52adf2d2f4362ba2c6..4f725cff54a90d6cc1e768987e79e858c73c25ee 100644
--- a/src/mips/disasm-mips.cc
+++ b/src/mips/disasm-mips.cc
@@ -555,7 +555,13 @@ void Decoder::DecodeTypeRegister(Instruction* instr) {
}
break;
case S:
- UNIMPLEMENTED_MIPS();
+ switch (instr->FunctionFieldRaw()) {
+ case CVT_D_S:
+ Format(instr, "cvt.d.s 'fd, 'fs");
+ break;
+ default:
+ UNIMPLEMENTED_MIPS();
+ }
break;
case W:
switch (instr->FunctionFieldRaw()) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698