[jdk20] RFR: 8299733: AArch64: "unexpected literal addressing mode" assertion failure with -XX:+PrintC1Statistics [v2]

Nick Gasson ngasson at openjdk.org
Mon Jan 9 14:02:14 UTC 2023


On Sat, 7 Jan 2023 18:20:42 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> Nick Gasson has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove TestPrintC1Statistics from ProblemList-Xcomp
>
> src/hotspot/cpu/aarch64/assembler_aarch64.hpp line 514:
> 
>> 512:     default:
>> 513:       return base() == reg || index() == reg;
>> 514:     }
> 
> It'd be more robust if you enumerated all of the possibilities here, and used `ShouldNotReachHere()` on the default case.

That's a good suggestion. I've made this change in the latest version.

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

PR: https://git.openjdk.org/jdk20/pull/87


More information about the hotspot-compiler-dev mailing list