[PATCH 2/2] Loongarch: Add ifunc support and add different versions of strlen

Xi Ruoyao xry111@xry111.site
Thu Aug 3 14:59:34 GMT 2023


On Thu, 2023-08-03 at 22:53 +0800, Xi Ruoyao wrote:
> > 
> > I would advise to follow what other architecture did to provide
> > arch-specific 
> > optimization, which is either setup a minimum gcc/binutils version
> > (for 
> > instance aarch64 libmvec), or encode the instructions in a binutils
> > neutral
> > mode (as the powerpc implementation I pointed out).
> 
> Hmm, this policy seems different from $OTHER_PROJECTS.

BTW I guess we should start to document some general rules about
machine-specific optimizations in
https://sourceware.org/glibc/wiki/Consensus or somewhere.

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University


More information about the Libc-alpha mailing list