RISC-V: Unify the output asm pattern between gpr_save and gpr_restore pattern.
authorKito Cheng <kito.cheng@sifive.com>
Thu, 11 Jun 2020 02:41:06 +0000 (19:41 -0700)
committerKito Cheng <kito.cheng@sifive.com>
Thu, 11 Jun 2020 02:41:06 +0000 (19:41 -0700)
commitdcf41a4e6033213f5e5f80da23080df961d83996
tree79bbbff33483e5eb39b9f9acdc049f503b3c882b
parentd0e0c1300f9f08608873df5571e14a61308dd0c0
RISC-V: Unify the output asm pattern between gpr_save and gpr_restore pattern.

gcc/ChangeLog:

* config/riscv/riscv-protos.h (riscv_output_gpr_save): Remove.
* config/riscv/riscv-sr.c (riscv_sr_match_prologue): Update
value.
* config/riscv/riscv.c (riscv_output_gpr_save): Remove.
* config/riscv/riscv.md (gpr_save): Update output asm pattern.
gcc/config/riscv/riscv-protos.h
gcc/config/riscv/riscv-sr.c
gcc/config/riscv/riscv.c
gcc/config/riscv/riscv.md