https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100266

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jim Wilson <wil...@gcc.gnu.org>:

https://gcc.gnu.org/g:e1fcf14f33e4f371aae8ae497ca58a760d53ca6d

commit r12-527-ge1fcf14f33e4f371aae8ae497ca58a760d53ca6d
Author: Christoph Muellner <cmuell...@gcc.gnu.org>
Date:   Wed May 5 21:23:41 2021 +0200

    RISC-V: Generate helpers for cbranch4.

    On RISC-V we are facing the fact, that our conditional branches
    require Pmode conditions. Currently, we generate them explicitly
    with a check for Pmode and then calling the proper generator
    (i.e. gen_cbranchdi4 on RV64 and gen_cbranchsi4 on RV32).
    Let's simplify this code by generating the INSN helpers
    and use gen_cbranch4 (Pmode).

            gcc/
            PR target/100266
            * config/riscv/riscv.c (riscv_block_move_loop): Use cbranch helper.
            * config/riscv/riscv.md (cbranch<mode>4): Generate helpers.
            (stack_protect_test): Use cbranch helper.

Reply via email to