about summary refs log tree commit diff
path: root/sysdeps/aarch64
diff options
context:
space:
mode:
authorNaohiro Tamura <naohirot@fujitsu.com>2021-09-24 07:49:59 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2021-09-24 13:26:59 +0100
commit381b29616abb82babc8163bdf516c6da87544b35 (patch)
tree5c00a9e5f2cdc8630138bcf98544d8d88ee59d9b /sysdeps/aarch64
parent2efca218b56b0ef32289ad448c05b8f482a2e759 (diff)
downloadglibc-381b29616abb82babc8163bdf516c6da87544b35.tar.gz
glibc-381b29616abb82babc8163bdf516c6da87544b35.tar.xz
glibc-381b29616abb82babc8163bdf516c6da87544b35.zip
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 <szabolcs.nagy@arm.com>
Diffstat (limited to 'sysdeps/aarch64')
-rw-r--r--sysdeps/aarch64/multiarch/memcpy_a64fx.S3
1 files changed, 3 insertions, 0 deletions
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 <sysdep.h>
 
+#undef BTI_C
+#define BTI_C
+
 /* Assumptions:
  *
  * ARMv8.2-a, AArch64, unaligned accesses, sve