[PATCH v3] powerpc: Add optimized P8 strspn
Paul E. Murphy
murphyp@linux.vnet.ibm.com
Thu Apr 7 20:55:00 GMT 2016
Pushed as 25dba0a with the trivial change pointed out by Tulio.
On 04/07/2016 01:36 PM, Tulio Magno Quites Machado Filho wrote:
> "Paul E. Murphy" <murphyp@linux.vnet.ibm.com> writes:
>
>> diff --git a/sysdeps/powerpc/powerpc64/multiarch/Makefile b/sysdeps/powerpc/powerpc64/multiarch/Makefile
>> index 3b0e3a0..7ed56bf 100644
>> --- a/sysdeps/powerpc/powerpc64/multiarch/Makefile
>> +++ b/sysdeps/powerpc/powerpc64/multiarch/Makefile
>> @@ -19,7 +19,8 @@ sysdep_routines += memcpy-power7 memcpy-a2 memcpy-power6 memcpy-cell \
>> strcmp-power8 strcmp-power7 strcmp-ppc64 \
>> strcat-power8 strcat-power7 strcat-ppc64 \
>> memmove-power7 memmove-ppc64 wordcopy-ppc64 bcopy-ppc64 \
>> - strncpy-power8 strstr-power7 strstr-ppc64
>> + strncpy-power8 strstr-power7 strstr-ppc64 \
>> + strspn-power8 strspn-ppc64
>
> I'm afraid you'll have another conflict here with due to the strlen
> optimization and the strcasestr optimization.
>
>> +/* size_t [r3] strspn (const char *string [r3],
>> + const char *needleAccept [r4] */
>
> Missing ) here ----------------------------------------^
>
> LGTM.
>
More information about the Libc-alpha
mailing list