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

Unified Diff: runtime/vm/constants_arm64.h

Issue 214233006: Adds subract, move wide immediate instructions to ARM64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 9 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 34712)
+++ runtime/vm/constants_arm64.h (working copy)
@@ -281,7 +281,7 @@
// C3.5.1
enum AddSubShiftExtOp {
- AddSubShiftExtMask = 0x1f200000,
+ AddSubShiftExtMask = 0x1f000000,
AddSubShiftExtFixed = DPRegisterFixed | B24,
ADD = AddSubShiftExtFixed,
SUB = AddSubShiftExtFixed | B30,
@@ -363,6 +363,9 @@
kImm16Shift = 5,
kImm16Bits = 16,
+ kHWShift = 21,
+ kHWBits = 2,
+
// Shift and Extend.
kShiftExtendShift = 21,
kShiftExtendBits = 1,
@@ -448,6 +451,7 @@
inline int Imm12ShiftField() const {
return Bits(kImm12ShiftShift, kImm12ShiftBits); }
+ inline int HWField() const { return Bits(kHWShift, kHWBits); }
// Shift and Extend.
inline bool IsShift() const { return (Bit(kShiftExtendShift) == 0); }
« 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