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

Vladimir Kempik vkempik at openjdk.org
Thu May 25 05:12:05 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.

This pull request has now been integrated.

Changeset: 2a18e537
Author:    Vladimir Kempik <vkempik at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2a18e537d60c88c015bea738764eef2ca610abf1
Stats:     36 lines in 2 files changed: 32 ins; 0 del; 4 mod

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

Reviewed-by: yzhu, fyang

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

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


More information about the hotspot-compiler-dev mailing list