[PATCH 0/5] Added optimized memcpy/memmove/memset for A64FX
Florian Weimer
fweimer@redhat.com
Fri Apr 30 15:30:25 GMT 2021
* Wilco Dijkstra via Libc-alpha:
> Hi Szabolcs,
>
>>> I meant using an actual NOP in the #else case so that existing string functions
>>> won't change. Also note the #defines in the #if and #else need to be indented.
>>
>> is that really useful?
>> 'bti c' is already a nop if it's unsupported.
>
> Well it doesn't seem to behave like a NOP. So to avoid slowing down
> all string functions, bti c must be removed completely, not just from
> A64FX memcpy. Using a real NOP is fine in all cases as long as
> HAVE_AARCH64_BTI is not defined.
I'm probably confused, but: If BTI is active, many more glibc functions
will have BTI markers. What makes the string functions special?
Thanks,
Florian
More information about the Libc-alpha
mailing list