Integrated: 8377438: [VectorAPI] Add new carrier type to LaneType class
Jatin Bhateja
jbhateja at openjdk.org
Wed Feb 25 16:05:29 UTC 2026
On Mon, 9 Feb 2026 07:37:03 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:
> As per https://github.com/openjdk/jdk/pull/28002#issuecomment-3789507594 on JDK-8370691 pull request, splitting out portion of PR#28002 into a separate patch.
>
> With Float16 we need to differentiate b/w vector lane element type and carrier type. while element type corresponds to exact type of lane i.e. Float16.class, carrier type corresponds to the storage type required to propagate IEEE 754 float16 values to inline expander.
>
> Patch adds a new carrier type to existing LaneType structure and use it for following purpose.
> - To compute preferred shape of vector.
> - To allocate vector backing storage during dummy vector and iota array creation.
> - Sanity checking to ensure vector lane type is a primitive type in inline expander.
>
> All existing Vector API jtreg test are passing with the patch.
>
> Kindly review and share your feedback.
>
> Best Regards,
> Jatin
This pull request has now been integrated.
Changeset: 8af95879
Author: Jatin Bhateja <jbhateja at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/8af95879f3a74e1b6e419305e1db85e9c14972db
Stats: 320 lines in 38 files changed: 235 ins; 1 del; 84 mod
8377438: [VectorAPI] Add new carrier type to LaneType class
Reviewed-by: psandoz, liach
-------------
PR: https://git.openjdk.org/jdk/pull/29629
More information about the core-libs-dev
mailing list