aarch64: Disable A64FX memcpy/memmove BTI unconditionally
authorNaohiro Tamura <naohirot@fujitsu.com>
Fri, 24 Sep 2021 07:49:59 +0000 (07:49 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 24 Sep 2021 12:26:59 +0000 (13:26 +0100)
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>
sysdeps/aarch64/multiarch/memcpy_a64fx.S

index 6552840..ae7464e 100644 (file)
@@ -19,6 +19,9 @@
 
 #include <sysdep.h>
 
+#undef BTI_C
+#define BTI_C
+
 /* Assumptions:
  *
  * ARMv8.2-a, AArch64, unaligned accesses, sve