RFR: 8308656: RISC-V: vstring_compare doesnt manifest usage of all vector registers

Vladimir Kempik vkempik at openjdk.org
Tue May 23 17:10:55 UTC 2023


On Tue, 23 May 2023 13:31:18 GMT, Vladimir Kempik <vkempik at openjdk.org> wrote:

> Please review this fix. 
> vstring_compare instrinsic ( from c2_MacroAssembler_riscv.cpp ) uses vector registers v6 and v7 ( https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp#L1482 , vstr1 == v4, lmul=4) , but doesn't manifest their usage in riscv_v.ad file.
> This fix resolves this situation.
> No noticable difference one might see in generated code for now.
> 
> Testing: build testing only.

macos build failure unrelated, No code touched outside of cpu/riscv in this PR

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

PR Comment: https://git.openjdk.org/jdk/pull/14102#issuecomment-1559839537


More information about the hotspot-compiler-dev mailing list