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

Unified Diff: runtime/vm/disassembler_arm.cc

Issue 647523002: Uses correct mnemonic for vmrs instructions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
« no previous file with comments | « runtime/vm/constants_arm.h ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/disassembler_arm.cc
===================================================================
--- runtime/vm/disassembler_arm.cc (revision 41020)
+++ runtime/vm/disassembler_arm.cc (working copy)
@@ -1320,9 +1320,12 @@
} else {
Format(instr, "vmovd'cond 'dn[1], 'rd");
}
- } else if ((instr->Bits(20, 4) == 0xf) && (instr->Bit(8) == 0) &&
- (instr->Bits(12, 4) == 0xf)) {
- Format(instr, "vmstat'cond");
+ } else if ((instr->Bits(20, 4) == 0xf) && (instr->Bit(8) == 0)) {
+ if (instr->Bits(12, 4) == 0xf) {
+ Format(instr, "vmrs'cond APSR, FPSCR");
+ } else {
+ Format(instr, "vmrs'cond 'rd, FPSCR");
+ }
} else {
Unknown(instr);
}
« no previous file with comments | « runtime/vm/constants_arm.h ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698