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

Unified Diff: runtime/vm/assembler_arm64.h

Issue 264943007: Adds double load and store to arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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 | runtime/vm/assembler_arm64_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm64.h
===================================================================
--- runtime/vm/assembler_arm64.h (revision 35661)
+++ runtime/vm/assembler_arm64.h (working copy)
@@ -623,6 +623,15 @@
EmitFPIntCvtOp(FMOVRD, rd, static_cast<Register>(vn));
}
+ void fldrd(VRegister vt, Address a) {
+ ASSERT(a.type() != Address::PCOffset);
+ EmitLoadStoreReg(FLDR, static_cast<Register>(vt), a, kDoubleWord);
+ }
+ void fstrd(VRegister vt, Address a) {
+ ASSERT(a.type() != Address::PCOffset);
+ EmitLoadStoreReg(FSTR, static_cast<Register>(vt), a, kDoubleWord);
+ }
+
// Aliases.
void mov(Register rd, Register rn) {
if ((rd == SP) || (rn == SP)) {
« no previous file with comments | « no previous file | runtime/vm/assembler_arm64_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698