aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/printf-parse.h
diff options
context:
space:
mode:
authorAlex Butler <Alex.Butler@arm.com>2020-06-09 16:08:07 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-06-23 17:55:39 +0100
commitdf06b0d90f3aa5a4702aa7d6772665e2228a0915 (patch)
tree3de6b4d618c30961222fff764480099f56d66fa2 /stdio-common/printf-parse.h
parent7ff899969fbff7f254c0ffabb4480afe1ccbfa22 (diff)
downloadglibc-df06b0d90f3aa5a4702aa7d6772665e2228a0915.zip
glibc-df06b0d90f3aa5a4702aa7d6772665e2228a0915.tar.gz
glibc-df06b0d90f3aa5a4702aa7d6772665e2228a0915.tar.bz2
aarch64: MTE compatible memrchr
Add support for MTE to memrchr. 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: Wilco Dijkstra <wilco.dijkstra@arm.com>
Diffstat (limited to 'stdio-common/printf-parse.h')
0 files changed, 0 insertions, 0 deletions