Integrated: 8371187: [BigEndian Platforms] Vector lane reversal error
Varada M
varadam at openjdk.org
Tue Jan 27 10:04:27 UTC 2026
On Thu, 20 Nov 2025 12:05:36 GMT, Varada M <varadam at openjdk.org> wrote:
> This change fixes incorrect lane ordering in reinterpretation operations on big-endian platforms. When converting from wider to narrower lane types like Long to Int, Long to Short, big-endian systems produced reversed sub-lanes.
> The patch adds a maybeSwapOnConverted() and a generic normalizeSubLanesForSpecies() shuffle builder to correct the sub-lane order based on element sizes on big-endian
>
> JBS: [JDK-8371187](https://bugs.openjdk.org/browse/JDK-8371187)
This pull request has now been integrated.
Changeset: ee2deade
Author: Varada M <varadam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ee2deaded82e5fbd94aff7dd22cf2d5c57caa94e
Stats: 109 lines in 7 files changed: 108 ins; 0 del; 1 mod
8371187: [BigEndian Platforms] Vector lane reversal error
Reviewed-by: mdoerr, amitkumar
-------------
PR: https://git.openjdk.org/jdk/pull/28425
More information about the core-libs-dev
mailing list