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

Unified Diff: runtime/vm/constants_arm64.h

Issue 295243005: Adds more SIMD instructions 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 36576)
+++ runtime/vm/constants_arm64.h (working copy)
@@ -457,6 +457,10 @@
enum SIMDCopyOp {
SIMDCopyMask = 0x9fe08400,
SIMDCopyFixed = DPSimd1Fixed | B10,
+ VDUPI = SIMDCopyFixed | B30 | B11,
+ VINSI = SIMDCopyFixed | B30 | B12 | B11,
+ VMOVW = SIMDCopyFixed | B13 | B12 | B11,
+ VMOVX = SIMDCopyFixed | B30 | B13 | B12 | B11,
VDUP = SIMDCopyFixed | B30,
VINS = SIMDCopyFixed | B30 | B29,
};
@@ -465,6 +469,13 @@
enum SIMDThreeSameOp {
SIMDThreeSameMask = 0x9f200400,
SIMDThreeSameFixed = DPSimd1Fixed | B21 | B10,
+ VAND = SIMDThreeSameFixed | B30 | B12 | B11,
+ VORR = SIMDThreeSameFixed | B30 | B23 | B12 | B11,
+ VEOR = SIMDThreeSameFixed | B30 | B29 | B12 | B11,
+ VADDW = SIMDThreeSameFixed | B30 | B23 | B15,
+ VADDX = SIMDThreeSameFixed | B30 | B23 | B22 | B15,
+ VSUBW = SIMDThreeSameFixed | B30 | B29 | B23 | B15,
+ VSUBX = SIMDThreeSameFixed | B30 | B29 | B23 | B22 | B15,
VADDS = SIMDThreeSameFixed | B30 | B15 | B14 | B12,
VADDD = SIMDThreeSameFixed | B30 | B22 | B15 | B14 | B12,
VSUBS = SIMDThreeSameFixed | B30 | B23 | B15 | B14 | B12,
@@ -475,6 +486,17 @@
VDIVD = SIMDThreeSameFixed | B30 | B29 | B22 | B15 | B14 | B13 | B12 | B11,
};
+// C.3.6.17
+enum SIMDTwoRegOp {
+ SIMDTwoRegMask = 0x9f3e0c00,
+ SIMDTwoRegFixed = DPSimd1Fixed | B21 | B11,
+ VNOT = SIMDTwoRegFixed | B30 | B29 | B14 | B12,
+ VABSS = SIMDTwoRegFixed | B30 | B23 | B15 | B14 | B13 | B12,
+ VNEGS = SIMDTwoRegFixed | B30 | B29 | B23 | B15 | B14 | B13 | B12,
+ VABSD = SIMDTwoRegFixed | B30 | B23 | B22 | B15 | B14 | B13 | B12,
+ VNEGD = SIMDTwoRegFixed | B30 | B29 | B23 | B22 | B15 | B14 | B13 | B12,
+};
+
// C.3.6.22
enum FPCompareOp {
FPCompareMask = 0xffa0fc07,
@@ -552,6 +574,7 @@
_V(LogicalShift) \
_V(SIMDCopy) \
_V(SIMDThreeSame) \
+_V(SIMDTwoReg) \
_V(FPCompare) \
_V(FPOneSource) \
_V(FPTwoSource) \
« 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