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

Jatin Bhateja jbhateja at openjdk.java.net
Mon May 16 15:25:55 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 four additional commits since the last revision:

 - 8283894: Review comments resolutions.
 - Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8283894
 - 8283894: Extending IR framework testcase with some functional test points.
 - 8283894: Intrinsify compress and expand bits on x86

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8498/files
  - new: https://git.openjdk.java.net/jdk/pull/8498/files/7dcbfd01..f7ed0f8d

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

  Stats: 217088 lines in 2755 files changed: 165017 ins; 37477 del; 14594 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