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

Jatin Bhateja jbhateja at openjdk.org
Wed Aug 13 07:08:13 UTC 2025


On Mon, 11 Aug 2025 03:11:04 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

> I remember that it has the micro benchmarks for slice/unslice under `test/micro/org/openjdk/bench/jdk/incubator/vector/operation` on panama-vector. Can we reuse those JMHs to check the benchmark improvement?

All those are the ones with variable slice index , slice kernel performance of those benchmarks on AVX2 and AVX512 targets are at par with baseline, and deviations are statistically insignificant due to error margins. 

New benchmark complements the code.

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

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


More information about the core-libs-dev mailing list