JDK-8155612 : Aarch64: vector nodes need to support misaligned offset
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: aarch64
  • Submitted: 2016-04-28
  • Updated: 2021-02-01
  • Resolved: 2016-04-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9 Other
9 b120Fixed openjdk8u292Fixed
Related Reports
Relates :  
Relates :  
Description
When the superword optimization encounters a misaligned offset, it tries to align the loop induction variable so the memory access is aligned. So even though the aarch64 port only supports align vector memory accesses ( Matcher::misaligned_vectors_ok()  return false), vector node can still get a misaligned offset which results in:

#  Internal Error (/scratch/rwestrel/hs-comp/hotspot/src/cpu/aarch64/vm/assembler_aarch64.hpp:251), pid=3780, tid=3807
#  guarantee(chk == -1 || chk == 0) failed: Field too big for insn