Integrated: 8319960: RISC-V: compiler/intrinsics/TestInteger/LongUnsignedDivMod.java failed with "counts: Graph contains wrong number of nodes"

Hamlin Li mli at openjdk.org
Tue Nov 14 10:08:39 UTC 2023


On Mon, 13 Nov 2023 13:17:31 GMT, Hamlin Li <mli at openjdk.org> wrote:

> Hi,
> Can you review this patch to fix the test failure in compiler/intrinsics/TestInteger/LongUnsignedDivMod.java?
> The reason of failure is that, `UDivModI` is only supplied on x86_64.ad, so it can not find this node on riscv.
> Fix is to apply the check only on x64.
> Thanks!
> 
> 
> ## Test
> To reproduce the issue, 
> 
> jtreg -timeout:10 -retain -v1 -conc:32 -nr -javaoptions:"" -testjdk:build/linux-riscv64-server-fastdebug/images/jdk/ ./test/hotspot/jtreg/compiler/intrinsics/TestIntegerUnsignedDivMod.java ./test/hotspot/jtreg/compiler/intrinsics/TestLongUnsignedDivMod.java

This pull request has now been integrated.

Changeset: 856c280d
Author:    Hamlin Li <mli at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/856c280d9372381622fc7d59a8fdc4d98a5577d0
Stats:     6 lines in 2 files changed: 2 ins; 0 del; 4 mod

8319960: RISC-V: compiler/intrinsics/TestInteger/LongUnsignedDivMod.java failed with "counts: Graph contains wrong number of nodes"

Reviewed-by: rehn

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

PR: https://git.openjdk.org/jdk/pull/16630


More information about the hotspot-compiler-dev mailing list