RFR: 8303762: Optimize vector slice operation with constant index using VPALIGNR instruction [v13]

Quan Anh Mai qamai at openjdk.org
Tue Feb 17 11:33:51 UTC 2026


On Tue, 17 Feb 2026 10:37:09 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> `CallStaticJavaNode::Ideal` will enqueue the call for incremental inline again when it is invoked. That means if the method fails to get intrinsified at first, then its arguments constant-fold, then the intrinsification may succeed upon retry.
>
> I think there is no harm in-lining fallback after first un-successful attempt of intrinsification for sliceOp, as fallback is composed of vectorAPI and we are giving them opportunity for intrinsificaiton, this save costly boxing operation and performance will be at par with what we have today.  WDYT ?

But this will affect other intrinsics, too, they are not implemented using other vector API operations.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24104#discussion_r2816552614


More information about the core-libs-dev mailing list