RFR: 8371187: [BigEndian Platforms] Vector lane reversal error [v3]
Martin Doerr
mdoerr at openjdk.org
Thu Jan 22 10:36:04 UTC 2026
On Tue, 20 Jan 2026 18:40:08 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
>> Varada M has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains two new commits since the last revision:
>>
>> - 8371187: [BigEndian Platforms] Vector lane reversal error
>> - fix for vector alignment issue on big-endian
>
> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractVector.java line 194:
>
>> 192: int[] id = new int[lanes];
>> 193: for (int i = 0; i < lanes; ++i) id[i] = i;
>> 194: return VectorShuffle.fromArray(targetSpecies, id, 0);
>
> Some comments would be helpful describing what you do in which case.
Wouldn't it be more efficient to handle this case by
if (subLanesPerSrc <= 1) {
return this;
}
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28425#discussion_r2716282144
More information about the core-libs-dev
mailing list