RFR: 8283894: Intrinsify compress and expand bits on x86 [v8]

Jatin Bhateja jbhateja at openjdk.java.net
Mon May 30 06:56:27 UTC 2022


> Summary of changes:
> 
> - Patch intrinsifies following newly added Java SE APIs
>   - Integer.compress
>   - Integer.expand
>   - Long.compress
>   - Long.expand
>   
> - Adds C2 IR nodes and corresponding ideal transformations for new operations.
> - We see around ~10x performance speedup due to intrinsification over X86 target. 
> - Adds an IR framework based test to validate newly introduced IR transformations.
> 
> Kindly review and share your feedback.
> 
> Best Regards,
> Jatin

Jatin Bhateja has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision:

 - Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8283894
 - 8283894: Extending new IR value routines with value propagation logic.
 - 8283894: Disabling sanity test as per review suggestion.
 - Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8283894
 - 8283894: Removing CompressExpandSanityTest from problem list.
 - 8283894: Updating test tag spec.
 - 8283894: Review comments resolved.
 - 8283894: Add missing -XX:+UnlockDiagnosticVMOptions.
 - 8283894: Review comments resolutions.
 - Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8283894
 - ... and 2 more: https://git.openjdk.java.net/jdk/compare/34cb64d1...a36dba2e

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8498/files
  - new: https://git.openjdk.java.net/jdk/pull/8498/files/553c3c39..a36dba2e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8498&range=07
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8498&range=06-07

  Stats: 39261 lines in 654 files changed: 9828 ins; 27372 del; 2061 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8498.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8498/head:pull/8498

PR: https://git.openjdk.java.net/jdk/pull/8498


More information about the hotspot-compiler-dev mailing list