Re: [pushed][PATCH v4] LoongArch: Optimize immediate load.

2022-11-27 Thread Lulu Cheng
Pushed r13-4315. 在 2022/11/23 上午12:44, Xi Ruoyao 写道: On Tue, 2022-11-22 at 22:03 +0800, Xi Ruoyao via Gcc-patches wrote: While I still can't fully understand the immediate load issue and how this patch fix it, I've tested this patch (alongside the prefetch instruction patch) with bootstrap-ubsa

Re: [PATCH v4] LoongArch: Optimize immediate load.

2022-11-22 Thread chenglulu
在 2022/11/23 00:44, Xi Ruoyao 写道: While I still can't fully understand the immediate load issue and how this patch fix it, I've tested this patch (alongside the prefetch instruction patch) with bootstrap-ubsan.  And the compiled result of imm-load1.c seems OK. And it's doing correct thing for

Re: [PATCH v4] LoongArch: Optimize immediate load.

2022-11-22 Thread Xi Ruoyao via Gcc-patches
On Tue, 2022-11-22 at 22:03 +0800, Xi Ruoyao via Gcc-patches wrote: > While I still can't fully understand the immediate load issue and how > this patch fix it, I've tested this patch (alongside the prefetch > instruction patch) with bootstrap-ubsan.  And the compiled result of > imm-load1.c seems

Re: [PATCH v4] LoongArch: Optimize immediate load.

2022-11-22 Thread Xi Ruoyao via Gcc-patches
While I still can't fully understand the immediate load issue and how this patch fix it, I've tested this patch (alongside the prefetch instruction patch) with bootstrap-ubsan. And the compiled result of imm-load1.c seems OK. On Thu, 2022-11-17 at 17:59 +0800, Lulu Cheng wrote: > v1 -> v2: > 1. C

[PATCH v4] LoongArch: Optimize immediate load.

2022-11-17 Thread Lulu Cheng
v1 -> v2: 1. Change the code format. 2. Fix bugs in the code. v2 -> v3: Modifying a code implementation of an undefined behavior. v3 -> v4: Move the part of the immediate number decomposition from expand pass to split pass. Both regression tests and spec2006 passed. The problem mentioned in the