aarch64: inline __libc_mtag_address_get_tag
commit40dc773f92ad33b6c742bbb84884761e399b9ce8
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 4 Feb 2021 10:04:07 +0000 (4 10:04 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 26 Mar 2021 11:03:06 +0000 (26 11:03 +0000)
treee9223aaca1a99fe76d799ba4367166975b77e780
parentd32624802d0b2105c95f699dd6a887b54cebf197
aarch64: inline __libc_mtag_address_get_tag

This is a common operation when heap tagging is enabled, so inline the
instruction instead of using an extern call.

The .inst directive is used instead of the name of the instruction (or
acle intrinsics) because malloc.c is not compiled for armv8.5-a+memtag
architecture, runtime cpu support detection is used.

Prototypes are removed from the comments as they were not always
correct.
sysdeps/aarch64/Makefile
sysdeps/aarch64/__mtag_address_get_tag.S [deleted file]
sysdeps/aarch64/libc-mtag.h