commit | c8e72e8a173184de0f495c0fc58d4ca0a78391a3 | [log] [tgz] |
---|---|---|
author | Gabor Kertesz <gabor.kertesz@arm.com> | Wed Feb 19 13:24:15 2020 +0100 |
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | Tue Feb 25 13:10:06 2020 +0000 |
tree | 809ee6f60dc815d0162899367f5d1b81b3b3a6e0 | |
parent | 9be4a9b833dbdb708f7b9bbd20511ea4b528ccac [diff] |
ARMv8.5 MTE: Add MTE compatible version of strchr. Reading outside the range of the string is only allowed within 16 byte aligned granules when MTE is enabled. This implementation is based on string/aarch64/strchr.S The 64-bit syndrome value is changed to contain only 16 bytes of data. The 32 byte loop is unrolled by two 16 byte reads.