JDK-8254872 : Optimize Rotate on AArch64
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: aarch64
  • Submitted: 2020-10-16
  • Updated: 2020-12-01
  • Resolved: 2020-11-17
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 16
16 b25Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Intel created a patch to intrinsify Integer/Long.rotateX APIs [1]. New IR nodes are introduced, we can do it in AArch64. 
Considering GVN folds relevant operation patterns into a single Rotate node, the final code[3] removes intrinsics.



[1] http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2020-July/038963.html
[2] https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2020-July/039048.html
[3] https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2020-August/039324.html
Comments
Changeset: 30a2ad55 Author: Eric Liu <eric.c.liu@arm.com> Committer: Nick Gasson <ngasson@openjdk.org> Date: 2020-11-17 01:55:09 +0000 URL: https://github.com/openjdk/jdk/commit/30a2ad55
17-11-2020