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

Unified Diff: runtime/vm/constants_arm64.h

Issue 239303008: Adds object pool, LoadImmediate, and LoadObject 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 | « runtime/vm/assembler_arm64_test.cc ('k') | runtime/vm/disassembler_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/constants_arm64.h
===================================================================
--- runtime/vm/constants_arm64.h (revision 35070)
+++ runtime/vm/constants_arm64.h (working copy)
@@ -109,8 +109,8 @@
// Register aliases.
const Register TMP = R16; // Used as scratch register by assembler.
const Register TMP2 = R17;
-const Register CTX = R27; // Caches current context in generated code.
-const Register PP = R26; // Caches object pool pointer in generated code.
+const Register CTX = R28; // Caches current context in generated code.
+const Register PP = R27; // Caches object pool pointer in generated code.
const Register SPREG = R31; // Stack pointer register.
const Register FPREG = FP; // Frame pointer register.
const Register ICREG = R5; // IC data register.
@@ -321,6 +321,13 @@
LDR = LoadStoreRegFixed | B22,
};
+// C3.3.5
+enum LoadRegLiteralOp {
+ LoadRegLiteralMask = 0x3b000000,
+ LoadRegLiteralFixed = LoadStoreFixed | B28,
+ LDRpc = LoadRegLiteralFixed,
+};
+
// C3.4.1
enum AddSubImmOp {
AddSubImmMask = 0x1f000000,
@@ -411,6 +418,7 @@
_V(UnconditionalBranch) \
_V(UnconditionalBranchReg) \
_V(LoadStoreReg) \
+_V(LoadRegLiteral) \
_V(AddSubImm) \
_V(LogicalImm) \
_V(MoveWide) \
« no previous file with comments | « runtime/vm/assembler_arm64_test.cc ('k') | runtime/vm/disassembler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698