glibc/sysdeps
Chris Metcalf 502697713f tile: Check for pointer add overflow in memchr
As was done in b224637928, check for large size causing an overflow
in the loop that walks over the array.

Branching out of line here is the fastest approach for handling this
problem, since tile can bundle the instructions to compute the branch
test in parallel with doing the required memchr loop setup computation.

Unfortunately, the existing saturated ops (e.g. tilegx addxsc) are
all signed saturing ops, so don't help with unsigned saturation.
2017-01-16 15:44:48 -05:00
..
aarch64 New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
alpha Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
arm New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
generic Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
gnu Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
hppa New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
i386 Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
ia64 New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
ieee754 Move wrappers to libm-compat-calls-auto 2017-01-04 16:25:04 -02:00
init_array Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
m68k New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
mach Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
microblaze New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
mips New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
nacl Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nios2 New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
nptl Clear list of acquired robust mutexes in the child process after forking. 2017-01-13 17:17:38 +01:00
posix Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
powerpc powerpc: Regenerate ULPs 2017-01-13 09:36:46 -02:00
pthread Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s390 New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
sh New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
sparc New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
tile tile: Check for pointer add overflow in memchr 2017-01-16 15:44:48 -05:00
unix tile: pass __IPC_64 as zero for SysV IPC calls 2017-01-16 15:43:29 -05:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
x86 New pthread rwlock that is more scalable. 2017-01-10 11:50:17 +01:00
x86_64 Fix x86 strncat optimized implementation for large sizes 2017-01-03 14:24:53 -02:00