aboutsummaryrefslogtreecommitdiff
path: root/nptl_db
diff options
context:
space:
mode:
authorAlex Butler <Alex.Butler@arm.com>2020-06-16 12:42:38 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-06-23 17:55:39 +0100
commitadac54ffc5ded48cba7deb18e46df984b213b0ac (patch)
treebd66a042414d7bc1696305b16d16adaee51becfc /nptl_db
parent79160c06c7b74672c7f7368355ca0b59103b2d30 (diff)
downloadglibc-adac54ffc5ded48cba7deb18e46df984b213b0ac.zip
glibc-adac54ffc5ded48cba7deb18e46df984b213b0ac.tar.gz
glibc-adac54ffc5ded48cba7deb18e46df984b213b0ac.tar.bz2
aarch64: MTE compatible strcmp
Add support for MTE to strcmp. 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: Branislav Rankov <branislav.rankov@arm.com> Co-authored-by: Wilco Dijkstra <wilco.dijkstra@arm.com>
Diffstat (limited to 'nptl_db')
0 files changed, 0 insertions, 0 deletions