> Patch optimizes Vector.slice operation with constant index using x86 ALIGNR > instruction. > Intrinsification is performed using new hybrid call generator infrastructure > added along with https://github.com/openjdk/jdk/pull/30876 which performs > lazy intrinsification and in case of intrinsic failure which will happen for > variable slice index will perform procedural inlining of fallback > implementation to prevent call overhead and boxing penalties. The existing > vector API-based slice implementation is now the fallback code. > > Vector API jtreg tests pass at various AVX levels. > > Following are the performance numbers of benchmark included with the patch:- > > > <img width="985" height="953" alt="image" > src="https://github.com/user-attachments/assets/dfd7d540-bd9c-4349-a0d6-f78cb5304bfb" > /> > <img width="986" height="487" alt="image" > src="https://github.com/user-attachments/assets/78f01e67-74fa-41ce-8bc3-1d6ea2e54243" > /> > > > Kindly review and share your feedback. > > Best Regards, > Jatin > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Jatin Bhateja has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 26 commits: - Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8303762 - Review comments resolutions - Review comments resolution - Review comments resolution - Review comments resolution - Review comments resolutions - Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8303762 - Review comments resolutions - Review resolutions - Review comments resolution - ... and 16 more: https://git.openjdk.org/jdk/compare/22ec9518...8ac82609 ------------- Changes: https://git.openjdk.org/jdk/pull/24104/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24104&range=22 Stats: 2141 lines in 26 files changed: 2056 ins; 1 del; 84 mod Patch: https://git.openjdk.org/jdk/pull/24104.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24104/head:pull/24104 PR: https://git.openjdk.org/jdk/pull/24104
