RFR: 8376187: [VectorAPI] Define new lane type constants and pass them to intrinsic entries [v5]
Jatin Bhateja
jbhateja at openjdk.org
Mon Feb 2 09:07:23 UTC 2026
On Sun, 1 Feb 2026 17:12:49 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
>> Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Review comments resolution
>
> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ByteVector.java line 580:
>
>> 578: public static ByteVector zero(VectorSpecies<Byte> species) {
>> 579: ByteSpecies vsp = (ByteSpecies) species;
>> 580: return VectorSupport.fromBitsCoerced(vsp.vectorType(), vsp.laneTypeOrdinal(), species.length(),
>
> You can now use `LANE_TYPE_ORDINAL` rather than `vsp.laneTypeOrdinal()`, which better fits the prior pattern.
Done
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29481#discussion_r2753281411
More information about the hotspot-dev
mailing list