diff options
author | Christoph Muellner <cmuellner@gcc.gnu.org> | 2021-05-05 21:23:41 +0200 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2021-05-05 18:15:42 -0700 |
commit | e1fcf14f33e4f371aae8ae497ca58a760d53ca6d (patch) | |
tree | 60f7b28fbcbdb2fe4b8582e029db5e2cb4f717cf /gcc/tree-ssa-phiopt.c | |
parent | 449480114aa5ee7e400b75c654f548e38fd03a64 (diff) | |
download | gcc-e1fcf14f33e4f371aae8ae497ca58a760d53ca6d.zip gcc-e1fcf14f33e4f371aae8ae497ca58a760d53ca6d.tar.gz gcc-e1fcf14f33e4f371aae8ae497ca58a760d53ca6d.tar.bz2 |
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.
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions