Re: [PATCH] Loongarch: Fix plugin header missing install.

2023-08-19 Thread Huacai Chen via Gcc-patches
Thank you very much, I think this should also be backported to Gcc12/13. Huacai On Sat, Aug 19, 2023 at 11:59 AM Chenghua Xu wrote: > > Pushed as r14-3331. > > Thanks. > chenglulu writes: > > > LGTM! > > > > 在 2023/8/16 上午9:48, Guo Jie 写道: > >> gcc/ChangeLog: > >> > >> * config/loongarch/t-

Re: [PATCH] LoongArch: add -mdirect-extern-access option

2022-09-01 Thread Huacai Chen via Gcc-patches
Hi, Ruoyao, On Thu, Sep 1, 2022 at 6:56 PM Xi Ruoyao wrote: > > We'd like to introduce a new codegen option to align with the old > "-Wa,-mla-global-with-pcrel" and avoid a performance & size regression > building the Linux kernel with new-reloc toolchain. And it should be > also useful for buil

Re: [PATCH v1] LoongArch: Add new code model 'emdium'.

2022-08-20 Thread Huacai Chen via Gcc-patches
Hi, Lulu, I think there is a typo in your subject line. Huacai On Sat, Aug 20, 2022 at 5:05 PM Lulu Cheng wrote: > > The function jump instruction in normal mode is 'bl', > so the scope of the function jump is +-128MB. > > Now we've added support for 'medium' mode, this mode is > to complete th

Re: [PATCH v3] LoongArch: add addr_global attribute

2022-07-29 Thread Huacai Chen via Gcc-patches
Hi, Lulu, On Sat, Jul 30, 2022 at 11:13 AM Lulu Cheng wrote: > > > 在 2022/7/30 上午1:17, Xi Ruoyao 写道: > > Change v2 to v3: > - Disable section anchor for addr_global symbols. > - Use -O2 in test to make sure section anchor is disabled. > > -- > > Background: > https://lore.kernel.org/loongarch/d76