RFR: 8318218: RISC-V: C2 CompressBits

Feilong Jiang fjiang at openjdk.org
Fri Nov 3 01:36:00 UTC 2023


On Thu, 2 Nov 2023 17:31:22 GMT, Hamlin Li <mli at openjdk.org> wrote:

> I made a mistake, UseRVVForCompressBitsIntrinsics is only defined in riscv global.hpp. I think I can resolve the issue by defining it in global global.hpp, but seems it's not a good idea either. Any suggestions?

Maybe `bool Matcher::match_rule_supported(int opcode) {` in `riscv.ad` is a good place:
https://github.com/openjdk/jdk/blob/c788160f8acea7b58b54ad857b601bb7ffb53f8e/src/hotspot/cpu/riscv/riscv.ad#L1896-L1897

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

PR Comment: https://git.openjdk.org/jdk/pull/16481#issuecomment-1791779175


More information about the hotspot-dev mailing list