On 5/15/24 12:48 AM, Christoph Müllner wrote:
Emitting a DI pattern won't find a match for rv32 and manifests in
the failing test case gcc.target/riscv/cmo-zicboz-zic64-1.c.
Let's fix this in the expansion and also address the different
code that gets generated for rv32/rv64.

gcc/ChangeLog:

        * config/riscv/riscv-string.cc (riscv_expand_block_clear_zicboz_zic64b):
        Fix expansion for rv32.

gcc/testsuite/ChangeLog:

        * gcc.target/riscv/cmo-zicboz-zic64-1.c: Fix for rv32.
The exact change I made yesterday for the code generator. Glad to see I didn't muck it up :-) And thanks for fixing the test to have some coverage on rv32.

Jeff

Reply via email to