RFR: 8283894: Intrinsify compress and expand bits on x86

Jatin Bhateja jbhateja at openjdk.java.net
Mon May 2 08:28:10 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

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

Commit messages:
 - 8283894: Extending IR framework testcase with some functional test points.
 - 8283894: Intrinsify compress and expand bits on x86

Changes: https://git.openjdk.java.net/jdk/pull/8498/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8498&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8283894
  Stats: 764 lines in 14 files changed: 752 ins; 1 del; 11 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