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

Unified Diff: runtime/vm/disassembler_arm.cc

Issue 606893002: Avoids vmovsr on ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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 | « runtime/vm/assembler_arm_test.cc ('k') | runtime/vm/intermediate_language_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 40683)
+++ runtime/vm/disassembler_arm.cc (working copy)
@@ -1308,6 +1308,13 @@
} else {
Format(instr, "vmovr'cond 'rd, 'sn");
}
+ } else if ((instr->Bits(22, 3) == 0) && (instr->Bit(20) == 0) &&
+ (instr->Bit(8) == 1) && (instr->Bits(5, 2) == 0)) {
+ if (instr->Bit(21) == 0) {
+ Format(instr, "vmovd'cond 'dn[0], 'rd");
+ } 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");
« no previous file with comments | « runtime/vm/assembler_arm_test.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698