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

Jatin Bhateja jbhateja at openjdk.org
Tue Feb 17 10:50:27 UTC 2026


On Tue, 17 Feb 2026 04:56:54 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

> > What you are asking for is a bigger generic change which can be taken up as a separate RFE once this is committed.
> 
> I think there is no need to rush this functionality, and this will become unnecessary when `TypeVect` can track const-ness of the value, so we should not proceed with this change.

Slice operations are used in simdjson UtfValidator and its better to push this patch rather than holding it for some future optimization.
https://github.com/simdjson/simdjson-java/pull/68

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

PR Comment: https://git.openjdk.org/jdk/pull/24104#issuecomment-3913886057


More information about the core-libs-dev mailing list