[PATCH] x86-64: Remove redundant strcspn-generic/strpbrk-generic/strspn-generic

Noah Goldstein goldstein.w.n@gmail.com
Mon Jul 11 05:34:58 GMT 2022


On Fri, Jul 8, 2022 at 4:08 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> Remove redundant strcspn-generic, strpbrk-generic and strspn-generic
> from sysdep_routines in sysdeps/x86_64/multiarch/Makefile added by
>
> commit c69f960b017b2cdf39335739009526a72fb20379
> Author: Noah Goldstein <goldstein.w.n@gmail.com>
> Date:   Sun Jul 3 21:28:07 2022 -0700
>
>     x86: Add support for building str{c|p}{brk|spn} with explicit ISA level
>
> since they have been added to sysdep_routines in sysdeps/x86_64/Makefile.
> ---
>  sysdeps/x86_64/multiarch/Makefile | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/sysdeps/x86_64/multiarch/Makefile b/sysdeps/x86_64/multiarch/Makefile
> index 18cea04423..7ba9ad5139 100644
> --- a/sysdeps/x86_64/multiarch/Makefile
> +++ b/sysdeps/x86_64/multiarch/Makefile
> @@ -78,7 +78,6 @@ sysdep_routines += \
>    strcpy-evex \
>    strcpy-sse2 \
>    strcpy-sse2-unaligned \
> -  strcspn-generic \
>    strcspn-sse4 \
>    strlen-avx2 \
>    strlen-avx2-rtm \
> @@ -110,13 +109,11 @@ sysdep_routines += \
>    strnlen-evex \
>    strnlen-evex512 \
>    strnlen-sse2 \
> -  strpbrk-generic \
>    strpbrk-sse4 \
>    strrchr-avx2 \
>    strrchr-avx2-rtm \
>    strrchr-evex \
>    strrchr-sse2 \
> -  strspn-generic \
>    strspn-sse4 \
>    strstr-avx512 \
>    strstr-sse2-unaligned \
> --
> 2.36.1
>

LGTM.


More information about the Libc-alpha mailing list