glibc/sysdeps
Chris Metcalf d9cd52e64d tile: optimize memcmp
Customize memcmp.c for tile, using similar tricks from memcpy:

- replace MERGE macro with dblalign.
- replace memcmp_bytes function with revbytes.
- use __glibc_likely.
- use post-increment addressing.

The schedule is still not perfect: the compiler is not hoisting
code above the comparison branch, which could save a bundle or two.
memcmp speeds up by 30-40% on shorter aligned tests in benchtest,
with some tests with unaligned lengths taking a small performance hit.
2014-10-06 11:20:59 -04:00
..
aarch64 Require autoconf 2.69 2014-09-29 07:53:36 -07:00
alpha Require autoconf 2.69 2014-09-29 07:53:36 -07:00
arm Require autoconf 2.69 2014-09-29 07:53:36 -07:00
generic Add __safe_fatal and use it in __pthread_unwind forwarder fallback. 2014-07-31 14:00:33 -07:00
gnu Add new Linux 3.16 constants to netinet/udp.h. 2014-09-12 12:13:08 +00:00
hppa Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
i386 i386 TLS_INIT_TP might produce bogus asm changing stack pointer [BZ #17319] 2014-08-28 09:53:08 +02:00
ia64 Require autoconf 2.69 2014-09-29 07:53:36 -07:00
ieee754 Fix missing <math_private.h> in ldbl-96 fma 2014-08-04 10:20:20 +02:00
init_array Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
m68k Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
mach Require autoconf 2.69 2014-09-29 07:53:36 -07:00
microblaze Move architecture shlib-versions files to Linux-specific directories. 2014-07-17 14:31:12 +00:00
mips Remove extra whitespace from end of line. 2014-10-01 13:46:51 -07:00
nptl Check value of futex before updating in __lll_timedlock 2014-08-12 12:57:27 +01:00
posix Remove _POSIX_REGEX_VERSION 2014-09-15 10:16:14 +05:30
powerpc PowerPC: memset optimization for POWER8/PPC64 2014-09-10 07:39:46 -04:00
pthread Restore subdir conditional for tst-timer dependency. 2014-07-03 18:52:51 -07:00
s390 Require autoconf 2.69 2014-09-29 07:53:36 -07:00
sh Remove unnecessary uses of NOT_IN_libc 2014-08-21 10:26:46 +05:30
sparc Get rid of sparc specific NPTL internaltypes.h header. 2014-07-09 22:19:09 -07:00
tile tile: optimize memcmp 2014-10-06 11:20:59 -04:00
unix tile: add support for _SC_LEVEL*CACHE* sysconf() queries 2014-10-06 11:20:30 -04:00
wordsize-32 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wordsize-64 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
x86 Run tst-ld-sse-use.sh with bash. 2014-09-29 23:24:37 +00:00
x86_64 Remove unnecessary uses of NOT_IN_libc 2014-08-21 10:26:46 +05:30