On Wed, 1 Apr 2026 05:09:23 GMT, Emanuel Peter <[email protected]> wrote:
>> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/Vector.java line
>> 940:
>>
>>> 938: * <ul>
>>> 939: * <li> Conversion {@code int[4]:128 -> float[4]:128}:
>>> 940: * invariant lane size (lanewise in-place, {@code ML=1}),
>>
>> Suggestion:
>>
>> * length-invariant (lanewise in-place, {@code ML=1}),
>>
>> ?
>
> Here I want to say that the lanes keep the same number of bits -> lanewise
> in-place. It is not about the number of lanes / length of the vector. What do
> you think?
Is that not implied by it also being shape-invariant? VLENGTH in and VLENGTH
out, VSHAPE in and VSHAPE out. I would be inclined to just say
"length-invariant ({@code ML=1"}), otherwise it might appear you are saying
something different or new and that is not the case.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/30113#discussion_r3033766616