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

Unified Diff: runtime/vm/constants_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 | « 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 35661)
+++ runtime/vm/constants_arm64.h (working copy)
@@ -322,20 +322,23 @@
RET = BR | B22,
};
+// C3.3.5
+enum LoadRegLiteralOp {
+ LoadRegLiteralMask = 0x3b000000,
+ LoadRegLiteralFixed = LoadStoreFixed | B28,
+ LDRpc = LoadRegLiteralFixed,
+};
+
+// C3.3.7-10
enum LoadStoreRegOp {
LoadStoreRegMask = 0x3a000000,
LoadStoreRegFixed = LoadStoreFixed | B29 | B28,
STR = LoadStoreRegFixed,
LDR = LoadStoreRegFixed | B22,
+ FSTR = STR | B26,
+ FLDR = LDR | B26,
};
-// C3.3.5
-enum LoadRegLiteralOp {
- LoadRegLiteralMask = 0x3b000000,
- LoadRegLiteralFixed = LoadStoreFixed | B28,
- LDRpc = LoadRegLiteralFixed,
-};
-
// C3.4.1
enum AddSubImmOp {
AddSubImmMask = 0x1f000000,
@@ -524,6 +527,8 @@
kVdBits = 5,
kVnShift = 5,
kVnBits = 5,
+ kVtShift = 0,
+ kVtBits = 5,
// Immediates.
kImm3Shift = 10,
@@ -692,6 +697,8 @@
Bits(kVdShift, kVdBits)); }
inline VRegister VnField() const { return static_cast<VRegister>(
Bits(kVnShift, kVnBits)); }
+ inline VRegister VtField() const { return static_cast<VRegister>(
+ Bits(kVtShift, kVtBits)); }
// Immediates
inline int Imm3Field() const { return Bits(kImm3Shift, kImm3Bits); }
« 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