JDK-8290034 : Auto vectorize reverse bit operations.
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: generic
  • Submitted: 2022-07-08
  • Updated: 2022-11-15
  • Resolved: 2022-07-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 20
20 b09Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
- Intrinsify scalar bit reverse APIs to emit efficient instruction sequence for X86 targets with and w/o GNFI feature. 
- Handle auto-vectorization of Integer/Long.reverse bit operations.
- Backend implementation for these were added with 4th incubation of VectorAPIs.
Comments
fyi, there are test failures in test/hotspot/jtreg/compiler/vectorization/TestReveseBitsVector.java that show up in Github Actions. for x86.
01-08-2022

Changeset: 5d82d67a Author: Jatin Bhateja <jbhateja@openjdk.org> Date: 2022-07-28 04:43:01 +0000 URL: https://git.openjdk.org/jdk/commit/5d82d67a9e1303e235f475c199eb1435c3d69006
28-07-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/9535 Date: 2022-07-18 08:01:09 +0000
18-07-2022