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

Unified Diff: runtime/vm/constants_arm64.h

Issue 253623003: Enables all startup code for 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/code_generator_test.cc ('k') | runtime/vm/dart.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 35439)
+++ runtime/vm/constants_arm64.h (working copy)
@@ -373,6 +373,13 @@
SUB = AddSubShiftExtFixed | B30,
};
+// C3.5.6
+enum ConditionalSelectOp {
+ ConditionalSelectMask = 0x1fe00000,
+ ConditionalSelectFixed = DPRegisterFixed | B28 | B23,
+ CSEL = ConditionalSelectFixed,
+};
+
// C3.5.8
enum MiscDP2SourceOp {
MiscDP2SourceMask = 0x5fe00000,
@@ -426,6 +433,7 @@
_V(MoveWide) \
_V(PCRel) \
_V(AddSubShiftExt) \
+_V(ConditionalSelect) \
_V(MiscDP2Source) \
_V(MiscDP3Source) \
_V(LogicalShift) \
@@ -510,6 +518,9 @@
kCondShift = 0,
kCondBits = 4,
+ kSelCondShift = 12,
+ kSelCondBits = 4,
+
// Bitfield immediates.
kNShift = 22,
kNBits = 1,
@@ -675,6 +686,9 @@
inline Condition ConditionField() const {
return static_cast<Condition>(Bits(kCondShift, kCondBits));
}
+ inline Condition SelectConditionField() const {
+ return static_cast<Condition>(Bits(kSelCondShift, kSelCondBits));
+ }
// Shift and Extend.
inline bool IsShift() const {
« no previous file with comments | « runtime/vm/code_generator_test.cc ('k') | runtime/vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698