Messages in this thread | | | Subject | Re: [PATCH v7 0/5] LoongArch: Support toolchain with new relocation types | From | Xi Ruoyao <> | Date | Thu, 01 Sep 2022 10:26:38 +0800 |
| |
On Thu, 2022-09-01 at 10:17 +0800, Huacai Chen wrote:
> Now all global variable accesses are via got, I think the performance > may be much worse than before when we didn't use explicit-relocs. > I don't know whether "a new code model" or your "(1)(2)(3)" is easier > to implement, but I think it is better to solve the performance issue > before 6.1-rc1.
Both won't be too difficult, but I need to debate with toolchain developers :(.
If we are running out of time:
cflags-y += $(cc-option -mno-explicit-relocs)
This will at least make the new toolchain work, though we cannot be benefited from the optimizations allowed by explicit relocations.
-- Xi Ruoyao <xry111@xry111.site> School of Aerospace Science and Technology, Xidian University
| |