aboutsummaryrefslogtreecommitdiff
path: root/scripts/build-many-glibcs.py
diff options
context:
space:
mode:
authorAndrea Corallo <andrea.corallo@arm.com>2020-06-05 17:20:50 +0200
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-06-09 09:20:27 +0100
commit49beaaec1bd333c543f7150576a0f9f6a28a4879 (patch)
tree3a999c2a32fdb4ac123ac7aa1bc271ce6be6c8c2 /scripts/build-many-glibcs.py
parentf7de454f20c05a748b5d421ed22d96a5232b6093 (diff)
downloadglibc-49beaaec1bd333c543f7150576a0f9f6a28a4879.zip
glibc-49beaaec1bd333c543f7150576a0f9f6a28a4879.tar.gz
glibc-49beaaec1bd333c543f7150576a0f9f6a28a4879.tar.bz2
aarch64: MTE compatible strchr
Introduce an Arm MTE compatible strchr implementation. 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. Benchmarked on Cortex-A72, Cortex-A53, Neoverse N1. Co-authored-by: Wilco Dijkstra <wilco.dijkstra@arm.com>
Diffstat (limited to 'scripts/build-many-glibcs.py')
0 files changed, 0 insertions, 0 deletions