Re:[pushed] [PATCH v1] LoongArch: Set default alignment for functions jumps and loops [PR112919].

2024-04-07 Thread Lulu Cheng
在 2024/4/6 下午5:53, Xi Ruoyao 写道: On Tue, 2024-04-02 at 15:03 +0800, Lulu Cheng wrote: +/* Alignment for functions loops and jumps for best performance.  For new +   uarchs the value should be measured via benchmarking.  See the documentation +   for -falign-functions -falign-loops and

Re: [PATCH v1] LoongArch: Set default alignment for functions jumps and loops [PR112919].

2024-04-06 Thread Xi Ruoyao
On Tue, 2024-04-02 at 15:03 +0800, Lulu Cheng wrote: > +/* Alignment for functions loops and jumps for best performance.  For new > +   uarchs the value should be measured via benchmarking.  See the > documentation > +   for -falign-functions -falign-loops and -falign-jumps in invoke.texi for >

[PATCH v1] LoongArch: Set default alignment for functions jumps and loops [PR112919].

2024-04-02 Thread Lulu Cheng
Xi Ruoyao set the alignment rules under LA464 in commit r14-1839, but the macro ASM_OUTPUT_ALIGN_WITH_NOP was removed in R14-4674, which affected the alignment rules. So I set different aligns on LA464 and LA664 again to test the performance of spec2006, and modify the alignment based on the test