RFR: 8371187: [BigEndian Platforms] Vector lane reversal error [v3]

Varada M varadam at openjdk.org
Tue Jan 20 17:12:18 UTC 2026


On Wed, 14 Jan 2026 10:09:42 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/DoubleVector.java line 3627:
> 
>> 3625:             VectorShuffle<Double> shuffle = normalizeSubLanesForSpecies(this.vspecies(), subLanesPerSrc);
>> 3626:             return this.rearrange(shuffle);
>> 3627:         }
> 
> I think the code could be refactored such that we don't need copies of the `subLanesPerSrc` computation.

Thanks Martin!!
I have refactored the code.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28425#discussion_r2709281681


More information about the core-libs-dev mailing list