RFR: 8301814: RISCV: Delete unused CountLoopEnd instruct with CmpX

Feilong Jiang fjiang at openjdk.org
Wed Feb 22 03:12:25 UTC 2023


On Wed, 22 Feb 2023 01:18:40 GMT, SUN Guoyun <duke at openjdk.org> wrote:

> Do you sure the U version of CountedLoopEnd be used on AArch64? 

I'm not sure about that. I just found that CmpU version was defined in `aarch64.ad` too.

> I guess it is unused also but I will also confirm further.

Yes, we should check if CmpU was safe to remove. By the way, looks x86 also provides CmpU version of CountedeLoopEnd:
https://github.com/openjdk/jdk/blob/180b94c73e9ad17d57650d4c985d4104289052a9/src/hotspot/cpu/x86/x86_64.ad#L13056-L13069

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

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


More information about the hotspot-compiler-dev mailing list