Committed with adding comments for those two functions.
On Thu, Jun 11, 2020 at 5:10 AM Jim Wilson <j...@sifive.com> wrote: > > On Wed, Jun 10, 2020 at 1:08 AM Kito Cheng <kito.ch...@sifive.com> wrote: > > * config/riscv/riscv.c (gpr_save_reg_order): New. > > (riscv_expand_prologue): Use riscv_gen_gpr_save_insn to gen > > gpr_save. > > (riscv_gen_gpr_save_insn): New. > > ... > > Looks good to me. Though these two new functions should have > explanatory comments before them indicating what they do. > > Jim