JDK-8260943 : Revisit vectorization optimization added by 8076284
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-02-02
  • Updated: 2021-02-02
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
JDK-8251994 changes excluded optimization added by JDK-8076284. It is incomplete and buggy in current state.

Using unrolling and cloning information to vectorize is interesting idea but as I see it is not complete. Even if pack_parallel() method is able create packs, they are all removed by filter_packs() method.  And additionally the cases listed in RFR are vectorized without hoisting loads and pack_parallel - I verified it:
https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2015-April/017645.html

This code should be revisited to be useful or removed.