From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: libc-alpha@sourceware.org,
Richard Henderson <richard.henderson@linaro.org>
Subject: [PATCH 0/3] Clean strncmp implementations
Date: Tue, 28 Feb 2023 14:23:57 -0300 [thread overview]
Message-ID: <20230228172400.2763397-1-adhemerval.zanella@linaro.org> (raw)
While working to fix the crypto badsalttest failure (675bdaeeca7) I
noted that some implementation implements similar strategies used by
the generic implementation. While alpha implements some unaligned
input optimization, powerpc just optimizes for aligned inputs.
Now that generic implementation allows both to use arch-specific
string compare functions (alpha and power7), it allows to just
remove this arch-specific code.
Adhemerval Zanella (3):
powerpc: Remove strncmp variants
powerpc: Remove powerpc64 strncmp variants
alpha: Remove strncmp optimization
sysdeps/alpha/strncmp.S | 276 ------------------
.../powerpc32/power4/multiarch/Makefile | 2 +-
.../power4/multiarch/ifunc-impl-list.c | 7 -
.../power4/multiarch/strncmp-power7.S | 38 ---
.../power4/multiarch/strncmp-ppc32.S | 40 ---
.../powerpc32/power4/multiarch/strncmp.c | 39 ---
sysdeps/powerpc/powerpc32/power4/strncmp.S | 196 -------------
sysdeps/powerpc/powerpc32/power7/strncmp.S | 199 -------------
sysdeps/powerpc/powerpc32/strncmp.S | 181 ------------
sysdeps/powerpc/powerpc64/multiarch/Makefile | 2 +-
.../powerpc64/multiarch/ifunc-impl-list.c | 2 -
.../powerpc64/multiarch/strncmp-power7.S | 23 --
.../powerpc64/multiarch/strncmp-ppc64.S | 26 --
.../powerpc64/multiarch/strncmp-ppc64.c | 7 +
sysdeps/powerpc/powerpc64/multiarch/strncmp.c | 5 +-
sysdeps/powerpc/powerpc64/power7/strncmp.S | 228 ---------------
sysdeps/powerpc/powerpc64/strncmp.S | 210 -------------
17 files changed, 10 insertions(+), 1471 deletions(-)
delete mode 100644 sysdeps/alpha/strncmp.S
delete mode 100644 sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S
delete mode 100644 sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S
delete mode 100644 sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c
delete mode 100644 sysdeps/powerpc/powerpc32/power4/strncmp.S
delete mode 100644 sysdeps/powerpc/powerpc32/power7/strncmp.S
delete mode 100644 sysdeps/powerpc/powerpc32/strncmp.S
delete mode 100644 sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S
delete mode 100644 sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S
create mode 100644 sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.c
delete mode 100644 sysdeps/powerpc/powerpc64/power7/strncmp.S
delete mode 100644 sysdeps/powerpc/powerpc64/strncmp.S
--
2.34.1
next reply other threads:[~2023-02-28 17:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-28 17:23 Adhemerval Zanella [this message]
2023-02-28 17:23 ` [PATCH 1/3] powerpc: Remove strncmp variants Adhemerval Zanella
2023-03-01 4:01 ` Rajalakshmi Srinivasaraghavan
2023-02-28 17:23 ` [PATCH 2/3] powerpc: Remove powerpc64 " Adhemerval Zanella
2023-03-01 4:01 ` Rajalakshmi Srinivasaraghavan
2023-02-28 17:24 ` [PATCH 3/3] alpha: Remove strncmp optimization Adhemerval Zanella
2023-02-28 19:11 ` Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230228172400.2763397-1-adhemerval.zanella@linaro.org \
--to=adhemerval.zanella@linaro.org \
--cc=libc-alpha@sourceware.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).