> 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 incrementally with one additional 
commit since the last revision:

  Regenerating jdk.incubator.vector sources post merge

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24104/files
  - new: https://git.openjdk.org/jdk/pull/24104/files/8ac82609..1438b375

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24104&range=23
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24104&range=22-23

  Stats: 24 lines in 2 files changed: 12 ins; 0 del; 12 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

Reply via email to