RFR: 8355796: RISC-V: compiler/vectorapi/AllBitsSetVectorMatchRuleTest.java fails after JDK-8355657

Fei Yang fyang at openjdk.org
Tue Apr 29 02:58:44 UTC 2025


On Mon, 28 Apr 2025 11:17:19 GMT, Anjian-Wen <duke at openjdk.org> wrote:

> One or more IR match rules failed in AllBitsSetVectorMatchRuleTest. For the IR testing requirements, the matching rules are split by type. After fix, the test on fastdebug can passed!

src/hotspot/cpu/riscv/riscv_v.ad line 1289:

> 1287:   predicate(UseZvbb && Matcher::vector_element_basic_type(n) == T_BYTE);
> 1288:   match(Set dst_src1 (AndV (Binary dst_src1 (Replicate (XorI src2 m1))) v0));
> 1289:   format %{ "vand_not_vx_masked $dst_src1, $dst_src1, $src2, $v0" %}

You might want to update `vand_not_vx_masked` to `vand_notB_vx_masked`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24918#discussion_r2065317393


More information about the hotspot-compiler-dev mailing list