ARM-software / optimized-routines

Optimized implementations of various library functions for ARM architecture processors
Other
585 stars 93 forks source link

Upstreaming optimizations to glibc? #71

Open kjteske opened 2 months ago

kjteske commented 2 months ago

README.contributors files mention much of the code here is "expected to be upstreamed into glibc". Upstreaming would make it much easier to consume these optimizations - what's the status on that? Is there anything we can do to help that along? In particular, we're interested in stringlib for 32-bit arm.

Wilco1 commented 2 months ago

So pretty much all of it is in GLIBC already and generally we quickly upstream new optimizations and features. The string functions for 32-bit Arm are quite old and not very optimized. Basically 32-bit Linux didn't get much attention since the move to 64-bit... Which string functions are you interested in, and for which CPU?

kjteske commented 2 months ago

We use everything in the string/arm folder in this repo.

We use these CPUs, all in 32-bit mode instead of aarch64 instructions: