RFR: 8318218: RISC-V: C2 CompressBits [v2]

Hamlin Li mli at openjdk.org
Tue Nov 7 10:00:46 UTC 2023


On Mon, 6 Nov 2023 08:49:33 GMT, Hamlin Li <mli at openjdk.org> wrote:

>> src/hotspot/cpu/riscv/riscv.ad line 1897:
>> 
>>> 1895: 
>>> 1896:     case Op_CompressBits:
>>> 1897:       return UseRVV && (MaxVectorSize >= 16);
>> 
>> Isn't it guaranteed that `MaxVectorSize >= 16` if `UseRVV` is true?
>
> After https://github.com/openjdk/jdk/pull/16498, it should be guaranteed `MaxVectorSize >= 16`.
> Let me remove this condition after pr #16498 is pushed.

I've updated the patch to match Op_CompressBits based on UseRVV only

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16481#discussion_r1384665252


More information about the hotspot-dev mailing list