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

Unified Diff: runtime/vm/simulator_arm64.cc

Issue 300003015: Reduce register pressure on ARM, ARM64, and MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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/intermediate_language_mips.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/simulator_arm64.cc
===================================================================
--- runtime/vm/simulator_arm64.cc (revision 36746)
+++ runtime/vm/simulator_arm64.cc (working copy)
@@ -2142,6 +2142,14 @@
result64 = rn_val64;
result32 = rn_val32;
}
+ } else if ((instr->Bits(29, 2) == 2) && (instr->Bits(10, 2) == 0)) {
+ // Format(instr, "csinv'sf'cond 'rd, 'rn, 'rm");
+ result64 = ~rm_val64;
+ result32 = ~rm_val32;
+ if (ConditionallyExecute(instr)) {
+ result64 = rn_val64;
+ result32 = rn_val32;
+ }
} else {
UnimplementedInstruction(instr);
return;
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698