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

Varada M varadam at openjdk.org
Fri Jan 23 10:51:19 UTC 2026


On Thu, 22 Jan 2026 10:30:53 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> I have tried adding the exception but many tests failed!
>> what I understood is asVectorRawTemplate is called in many cases which eventually calls swapIfNeeded and exception is thrown for the widening cases. When we reinterpret smaller elements into larger ones we don't need to swap elements so we could opt out.
>
> Ok, a comment would be helpful.

same type and widening reinterpret cases are handled here itself. returns this; in swapIfNeeded

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

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


More information about the core-libs-dev mailing list