Merge "ARM64: Encode constants when it is possible." am: db1a013335
am: d1276d3a1c

Change-Id: Ib9ea1e09938be7ccc937e4fdac0a998fe8bbfa3e