[jdk21u-dev] RFR: 8319970: AArch64: enable tests compiler/intrinsics/Test(Long|Integer)UnsignedDivMod.java on aarch64
Daniel Hu
duke at openjdk.org
Tue Aug 27 20:44:36 UTC 2024
Backport of [JDK-8319970](https://bugs.openjdk.org/browse/JDK-8319970) that enables tests for compiler/intrinsics/Test(Long|Integer)UnsignedDivMod.java on aarch64. Not clean because [RISC-V intrinsics for divideUnsigned and remainderUnsigned were only added in JDK22](https://github.com/openjdk/jdk/commit/40a3c35aa5614be4505013d4e92ddb1b556a3622); aarch64 intrinsics for divideUnsigned and remainderUnsigned confirmed to be [released in JDK20](https://bugs.openjdk.org/browse/JDK-8287926).
This includes backport of [JDK-8319960](https://bugs.openjdk.org/browse/JDK-8319960) because the `UDivModI` or `UDivModL` nodes are supplied from x86_64.ad, thus the node check is intended for x64 platforms. Although originally intended to fix the test failing for RISC-V intrinsics, without this exclusion the test will also fail for aarch64 platforms, thus it is included as part of the backport.
Passes affected tests on Linux aarch64 and Mac aarch64.
-------------
Commit messages:
- Backport 856c280d9372381622fc7d59a8fdc4d98a5577d0
- Merge branch 'openjdk:master' into JDK-8319970
- Merge branch 'openjdk:master' into JDK-8319970
- Backport c80e691adf6f9ac1a41b2329ce366710e604e34e
Changes: https://git.openjdk.org/jdk21u-dev/pull/914/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=914&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8319970
Stats: 10 lines in 2 files changed: 2 ins; 0 del; 8 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/914.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/914/head:pull/914
PR: https://git.openjdk.org/jdk21u-dev/pull/914
More information about the jdk-updates-dev
mailing list