[jdk21u-dev] RFR: 8319970: AArch64: enable tests compiler/intrinsics/Test(Long|Integer)UnsignedDivMod.java on aarch64
Paul Hohensee
phh at openjdk.org
Wed Aug 28 18:42:30 UTC 2024
On Mon, 12 Aug 2024 22:57:04 GMT, Daniel Hu <duke at openjdk.org> wrote:
> 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 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 these node checks are 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.
Marked as reviewed by phh (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk21u-dev/pull/914#pullrequestreview-2267010554
More information about the jdk-updates-dev
mailing list