RFR: 8351876: RISC-V: enable and fix some float round tests

Fei Yang fyang at openjdk.org
Thu Mar 13 08:19:53 UTC 2025


On Thu, 13 Mar 2025 08:11:53 GMT, Hamlin Li <mli at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/vectorization/TestRoundVectFloat.java line 57:
>> 
>>> 55:   @IR(applyIfPlatform = {"riscv64", "true"},
>>> 56:       applyIfCPUFeature = {"rvv", "true"},
>>> 57:       applyIf = {"MaxVectorSize", ">= 32"},
>> 
>> Do you have more details about why a smaller `MaxVectorSize` (Let's say 16) won't work? Thanks.
>
> As when RoundVF/D was implemented (https://github.com/openjdk/jdk/pull/17745), the test show e.g. RoundVF only bring performance gain when vlenb >= 32.

Ah, I see. Thanks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24015#discussion_r1992993563


More information about the hotspot-compiler-dev mailing list