Re: 回复:[PING] [PATCH RESEND] riscv: improve the cost model for loading a 64bit constant in rv32.

2022-11-28 Thread Palmer Dabbelt
On Mon, 28 Nov 2022 11:15:01 PST (-0800), gcc-patches@gcc.gnu.org wrote: > > > On 11/24/22 00:43, Sinan wrote: >>> The motivation of this patch is to correct the wrong estimation  >>>of  the number of instructions needed for loading a 64bit constant  in  rv32 

Re: 回复:[PING] [PATCH RESEND] riscv: improve the cost model for loading a 64bit constant in rv32.

2022-11-28 Thread Jeff Law via Gcc-patches
On 11/24/22 00:43, Sinan wrote:  The motivation of this patch is to correct the wrong estimation of  the number of instructions needed for loading a 64bit constant in  rv32 in the current cost model(riscv_interger_cost). According to  the current implementation, if a constant requires more 

Re: [PING] [PATCH RESEND] riscv: improve the cost model for loading a 64bit constant in rv32.

2022-11-24 Thread Sinan via Gcc-patches
> The motivation of this patch is to correct the wrong estimation of >> the number of instructions needed for loading a 64bit constant in >> rv32 in the current cost model(riscv_interger_cost). According to >> the current implementation, if a constant requires more than 3 >>

Re: [PING] [PATCH RESEND] riscv: improve the cost model for loading a 64bit constant in rv32.

2022-11-22 Thread Jeff Law via Gcc-patches
On 11/17/22 00:32, Lin Sinan via Gcc-patches wrote: The motivation of this patch is to correct the wrong estimation of the number of instructions needed for loading a 64bit constant in rv32 in the current cost model(riscv_interger_cost). According to the current implementation, if a constant