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

Unified Diff: runtime/vm/constants_arm64.h

Issue 293993013: Beings adding SIMD support to arm64. (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/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 36461)
+++ runtime/vm/constants_arm64.h (working copy)
@@ -453,6 +453,28 @@
BICS = LogicalShiftFixed | B30 | B29 | B21,
};
+// C.3.6.5
+enum SIMDCopyOp {
+ SIMDCopyMask = 0x9fe08400,
+ SIMDCopyFixed = DPSimd1Fixed | B10,
+ VDUP = SIMDCopyFixed | B30,
+ VINS = SIMDCopyFixed | B30 | B29,
+};
+
+// C.3.6.16
+enum SIMDThreeSameOp {
+ SIMDThreeSameMask = 0x9f200400,
+ SIMDThreeSameFixed = DPSimd1Fixed | B21 | B10,
+ VADDS = SIMDThreeSameFixed | B30 | B15 | B14 | B12,
+ VADDD = SIMDThreeSameFixed | B30 | B22 | B15 | B14 | B12,
+ VSUBS = SIMDThreeSameFixed | B30 | B23 | B15 | B14 | B12,
+ VSUBD = SIMDThreeSameFixed | B30 | B23 | B22 | B15 | B14 | B12,
+ VMULS = SIMDThreeSameFixed | B30 | B29 | B15 | B14 | B12 | B11,
+ VMULD = SIMDThreeSameFixed | B30 | B29 | B22 | B15 | B14 | B12 | B11,
+ VDIVS = SIMDThreeSameFixed | B30 | B29 | B15 | B14 | B13 | B12 | B11,
+ VDIVD = SIMDThreeSameFixed | B30 | B29 | B22 | B15 | B14 | B13 | B12 | B11,
+};
+
// C.3.6.22
enum FPCompareOp {
FPCompareMask = 0xffa0fc07,
@@ -528,11 +550,13 @@
_V(MiscDP2Source) \
_V(MiscDP3Source) \
_V(LogicalShift) \
+_V(SIMDCopy) \
+_V(SIMDThreeSame) \
+_V(FPCompare) \
_V(FPOneSource) \
_V(FPTwoSource) \
_V(FPImm) \
_V(FPIntCvt) \
-_V(FPCompare) \
enum Shift {
@@ -602,6 +626,10 @@
// Immediates.
kImm3Shift = 10,
kImm3Bits = 3,
+ kImm4Shift = 11,
+ kImm4Bits = 4,
+ kImm5Shift = 16,
+ kImm5Bits = 5,
kImm6Shift = 10,
kImm6Bits = 6,
kImm8Shift = 13,
« 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