Hi Andreas:
Thanks for your reminder, fixed on trunk:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=82a3008e56c620008b4575a97e459e2769df54db
On Sat, Jun 13, 2020 at 4:58 PM Andreas Schwab wrote:
>
> On Jun 10 2020, Kito Cheng wrote:
>
> > - Verified on rv32emc/rv32gc/rv64gc bare-metal target
On Jun 10 2020, Kito Cheng wrote:
> - Verified on rv32emc/rv32gc/rv64gc bare-metal target and rv32gc/rv64gc
>linux target with qemu.
Obviously not:
../../gcc/config/riscv/riscv.c:5190:21: error: comparison of integer
expressions of different signedness: 'int' and 'unsigned int'
Committed with adding comments for those two functions.
On Thu, Jun 11, 2020 at 5:10 AM Jim Wilson wrote:
>
> On Wed, Jun 10, 2020 at 1:08 AM Kito Cheng wrote:
> > * config/riscv/riscv.c (gpr_save_reg_order): New.
> > (riscv_expand_prologue): Use riscv_gen_gpr_save_insn to gen
On Wed, Jun 10, 2020 at 1:08 AM Kito Cheng 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