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

Unified Diff: runtime/vm/intermediate_language_arm.cc

Issue 307523002: Adds more ARM64 SIMD instructions. (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/flow_graph_compiler.cc ('k') | runtime/vm/intermediate_language_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_arm.cc
===================================================================
--- runtime/vm/intermediate_language_arm.cc (revision 36692)
+++ runtime/vm/intermediate_language_arm.cc (working copy)
@@ -4576,7 +4576,6 @@
// Grabbing the S components means we need a low (< 7) Q.
summary->set_in(0, Location::FpuRegisterLocation(Q6));
summary->set_out(0, Location::RequiresRegister());
- summary->AddTemp(Location::RequiresRegister());
} else {
summary->set_in(0, Location::RequiresFpuRegister());
summary->set_out(0, Location::RequiresFpuRegister());
@@ -4593,15 +4592,14 @@
const DRegister dvalue1 = OddDRegisterOf(q);
const Register out = locs()->out(0).reg();
- const Register temp = locs()->temp(0).reg();
// Upper 32-bits of X lane.
__ vmovrs(out, OddSRegisterOf(dvalue0));
__ Lsr(out, out, 31);
// Upper 32-bits of Y lane.
- __ vmovrs(temp, OddSRegisterOf(dvalue1));
- __ Lsr(temp, temp, 31);
- __ orr(out, out, ShifterOperand(temp, LSL, 1));
+ __ vmovrs(TMP, OddSRegisterOf(dvalue1));
+ __ Lsr(TMP, TMP, 31);
+ __ orr(out, out, ShifterOperand(TMP, LSL, 1));
// Tag.
__ SmiTag(out);
return;
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/intermediate_language_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698