Messages in this thread | | | From | Nick Desaulniers <> | Date | Mon, 7 Aug 2023 08:56:31 -0700 | Subject | Re: [PATCH v2] LoongArch: Replace -ffreestanding with finer-grained -fno-builtin's |
| |
On Mon, Aug 7, 2023 at 12:17 AM Xi Ruoyao <xry111@xry111.site> wrote: > > On Sun, 2023-08-06 at 18:31 +0800, WANG Xuerui wrote: > > > > +cflags-y += -fno-builtin-memcpy -fno-builtin-memmove -fno-builtin-memset > > Can we only apply them for GCC <= 13? I think with GCC 14 the built-in > implementations are quite reasonable (well, maybe it's some human ego > because I wrote them :).
Yes, and because only GCC-13 and older users should pay that penalty.
-- Thanks, ~Nick Desaulniers
| |