[PATCH] PowerPC - Optimization for str[n]casecmp functions
Benjamin Herrenschmidt
benh@kernel.crashing.org
Thu Nov 24 14:32:00 GMT 2011
On Tue, 2011-11-22 at 15:50 -0600, Ryan S. Arnold wrote:
>
> We discussed this issue with the IBM PowerPC compiler team and
> Adhemerval's approach is seen as the best option currently available
> for strcasecmp.
>
> The compiler could in theory do such unrolling, but right now it is
> likely beyond the current unrolling implementation. And even if this
> could be enabled it would be quite some time before one could build a
> glibc that would benefit from the change.
>
> So I'm acking this patch. We'd like to see this performance
> enhancement.
I see no conditional compilation or anything involved here making this
specific to Power7.
Do we have any idea of the impact of this patch on things such as IBM
476 32-bit embedded cores or Freescale e500 or e5500 cores ?
Ben.
More information about the Libc-alpha
mailing list