[PATCH 00/12] Remove bcopy and bzero optimizations

Adhemerval Zanella adhemerval.zanella@linaro.org
Mon Feb 14 14:41:13 GMT 2022



On 14/02/2022 11:29, Florian Weimer wrote:
> * Adhemerval Zanella via Libc-alpha:
> 
>> On a recent Linux distro (Ubuntu 21.04), I see only 1 'bcmp' call
>> (which is already aliased to memcmp):
> 
> Clang turns memcmp for equality (so basically __memcmpeq) into bcmp.

bcmp has the advantage we can alias to memcmp, so there is no need to
actually provide all the ifunc machinery. 


More information about the Libc-alpha mailing list