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

Robbin Ehn rehn at openjdk.org
Mon Nov 13 13:47:57 UTC 2023


On Mon, 13 Nov 2023 13:18:41 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/
>
> Thanks @robehn for finding and reproducing the issue.

Thanks @Hamlin-Li !

I don't know what the correct solution is, I need to do some code digging first.
I'll wait with that and see if other folks may know this by heart.

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

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


More information about the hotspot-compiler-dev mailing list