diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-04-15 12:27:59 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-04-15 13:08:35 -0500 |
commit | 8804157ad9da39631703b92315460808eac86b0c (patch) | |
tree | 5d36f2ab234e5e23941090cf2deffe8fcb20ea73 /sysdeps/x86_64/memcmpeq.S | |
parent | ac0d208b54fe78ff378afce8003467c763c6a74a (diff) | |
download | glibc-8804157ad9da39631703b92315460808eac86b0c.zip glibc-8804157ad9da39631703b92315460808eac86b0c.tar.gz glibc-8804157ad9da39631703b92315460808eac86b0c.tar.bz2 |
x86: Optimize memcmp SSE2 in memcmp.S
New code save size (-303 bytes) and has significantly better
performance.
geometric_mean(N=20) of page cross cases New / Original: 0.634
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/x86_64/memcmpeq.S')
-rw-r--r-- | sysdeps/x86_64/memcmpeq.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/memcmpeq.S b/sysdeps/x86_64/memcmpeq.S index 2cee881..80c5e91 100644 --- a/sysdeps/x86_64/memcmpeq.S +++ b/sysdeps/x86_64/memcmpeq.S @@ -16,6 +16,6 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ -#define memcmp __memcmpeq +#define MEMCMP __memcmpeq #define USE_AS_MEMCMPEQ 1 #include "multiarch/memcmp-sse2.S" |