RFR: 8376187: [VectorAPI] Define new lane type constants and pass them to intrinsic entries

Quan Anh Mai qamai at openjdk.org
Thu Jan 29 08:13:59 UTC 2026


On Thu, 29 Jan 2026 07:16:35 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

> As per [discussions ](https://github.com/openjdk/jdk/pull/28002#issuecomment-3789507594) on JDK-8370691 pull request, splitting out portion of PR#28002 into a separate patch in preparation of Float16 vector API support.
> 
> Patch add new lane type constants and pass them to vector intrinsic entry points.
> 
> All existing Vector API jtreg test are passing with the patch.
> 
> Kindly review and share your feedback.
> 
> Best Regards,
> Jatin

src/hotspot/share/prims/vectorSupport.hpp line 140:

> 138:   };
> 139: 
> 140:   enum {

Please use a scoped enum instead.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29481#discussion_r2740433980


More information about the core-libs-dev mailing list