glibc/sysdeps
Alex Butler 7ff899969f aarch64: MTE compatible memchr
Add support for MTE to memchr. Regression tested with xcheck and benchmarked
with glibc's benchtests on the Cortex-A53, Cortex-A72, and Neoverse N1.

The existing implementation assumes that any access to the pages in which the
string resides is safe. This assumption is not true when MTE is enabled. This
patch updates the algorithm to ensure that accesses remain within the bounds
of an MTE tag (16-byte chunks) and improves overall performance.

Co-authored-by: Gabor Kertesz <gabor.kertesz@arm.com>
2020-06-23 17:55:39 +01:00
..
aarch64 aarch64: MTE compatible memchr 2020-06-23 17:55:39 +01:00
alpha alpha: Use builtin sqrt{f} 2020-06-22 11:09:49 -03:00
arm arm: Use sqrt{f} builtin 2020-06-22 11:09:50 -03:00
csky semaphore: consolidate arch headers into a generic one 2020-05-06 13:07:12 -07:00
generic math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
gnu Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hppa dl-runtime: reloc_{offset,index} now functions arch overide'able 2020-06-05 13:45:46 -07:00
htl htl: Fix cleanup support for IO locking 2020-06-14 15:53:04 +00:00
hurd Hurd: Move <hurd/sigpreempt.h> internals into wrapper header 2020-05-28 11:40:13 +02:00
i386 i386: Use builtin sqrtl 2020-06-22 11:09:49 -03:00
ia64 ia64: Use generic exp10f 2020-06-19 12:08:52 -03:00
ieee754 New exp10f version without SVID compat wrapper 2020-06-19 12:08:47 -03:00
m68k m68k: Use sqrt{f} builtin for coldfire 2020-06-22 11:09:50 -03:00
mach hurd: Add mremap 2020-06-20 13:49:57 +00:00
microblaze semaphore: consolidate arch headers into a generic one 2020-05-06 13:07:12 -07:00
mips mips: Use sqrt{f} builtin 2020-06-22 11:09:49 -03:00
nios2 semaphore: consolidate arch headers into a generic one 2020-05-06 13:07:12 -07:00
nptl nptl: Add pthread_attr_setsigmask_np, pthread_attr_getsigmask_np 2020-06-02 11:59:18 +02:00
posix hurd: Fix __writev_nocancel_nostatus 2020-06-14 17:45:04 +00:00
powerpc powerpc: Use sqrt{f} builtin 2020-06-22 11:09:49 -03:00
pthread htl: Enable more cancellation tests 2020-06-14 16:16:59 +00:00
riscv riscv: Use sqrt{f} builtin 2020-06-22 11:09:50 -03:00
s390 s390: Use sqrt{f} builtin 2020-06-22 11:09:50 -03:00
sh semaphore: consolidate arch headers into a generic one 2020-05-06 13:07:12 -07:00
sparc sparc: Use sqrt{f} builtin 2020-06-22 11:09:49 -03:00
unix Add MREMAP_DONTUNMAP from Linux 5.7 2020-06-23 14:42:45 +00:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
x86 x86: Update CPU feature detection [BZ #26149] 2020-06-22 13:09:33 -07:00
x86_64 i386: Use builtin sqrtl 2020-06-22 11:09:49 -03:00