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

Unified Diff: runtime/vm/constants_arm64.h

Issue 236173002: Adds more arithmetic ops 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_arm_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 35018)
+++ runtime/vm/constants_arm64.h (working copy)
@@ -365,6 +365,25 @@
SUB = AddSubShiftExtFixed | B30,
};
+// C3.5.8
+enum MiscDP2SourceOp {
+ MiscDP2SourceMask = 0x5fe00000,
+ MiscDP2SourceFixed = DPRegisterFixed | B28 | B23 | B22,
+ UDIV = MiscDP2SourceFixed | B11,
+ SDIV = MiscDP2SourceFixed | B11 | B10,
+ LSLV = MiscDP2SourceFixed | B13,
+ LSRV = MiscDP2SourceFixed | B13 | B10,
+ ASRV = MiscDP2SourceFixed | B13 | B11,
+};
+
+// C3.5.9
+enum MiscDP3SourceOp {
+ MiscDP3SourceMask = 0x1f000000,
+ MiscDP3SourceFixed = DPRegisterFixed | B28 | B24,
+ MADD = MiscDP3SourceFixed,
+};
+
+// C3.5.10
enum LogicalShiftOp {
LogicalShiftMask = 0x1f000000,
LogicalShiftFixed = DPRegisterFixed,
@@ -398,6 +417,8 @@
_V(MoveWide) \
_V(PCRel) \
_V(AddSubShiftExt) \
+_V(MiscDP2Source) \
+_V(MiscDP3Source) \
_V(LogicalShift) \
« no previous file with comments | « runtime/vm/assembler_arm_test.cc ('k') | runtime/vm/disassembler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698