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

Hamlin Li mli at openjdk.org
Mon Nov 13 16:01:59 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

These 2 tests also fail on aarch64 (after enble the tests on aarch64, which is addressed in https://github.com/openjdk/jdk/pull/16633)

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

PR Comment: https://git.openjdk.org/jdk/pull/16630#issuecomment-1808448726


More information about the hotspot-compiler-dev mailing list