From: Naohiro Tamura Date: Fri, 24 Sep 2021 07:49:59 +0000 (+0000) Subject: aarch64: Disable A64FX memcpy/memmove BTI unconditionally X-Git-Tag: glibc-2.35~492 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=381b29616abb82babc8163bdf516c6da87544b35;p=platform%2Fupstream%2Fglibc.git aarch64: Disable A64FX memcpy/memmove BTI unconditionally This patch disables A64FX memcpy/memmove BTI instruction insertion unconditionally such as A64FX memset patch [1] for performance. [1] commit 07b427296b8d59f439144029d9a948f6c1ce0a31 Reviewed-by: Szabolcs Nagy --- diff --git a/sysdeps/aarch64/multiarch/memcpy_a64fx.S b/sysdeps/aarch64/multiarch/memcpy_a64fx.S index 65528405bb..ae7464e09f 100644 --- a/sysdeps/aarch64/multiarch/memcpy_a64fx.S +++ b/sysdeps/aarch64/multiarch/memcpy_a64fx.S @@ -19,6 +19,9 @@ #include +#undef BTI_C +#define BTI_C + /* Assumptions: * * ARMv8.2-a, AArch64, unaligned accesses, sve