33 lines
935 B
Diff
33 lines
935 B
Diff
From 381b29616abb82babc8163bdf516c6da87544b35 Mon Sep 17 00:00:00 2001
|
|
From: Naohiro Tamura <naohirot@fujitsu.com>
|
|
Date: Fri, 24 Sep 2021 07:49:59 +0000
|
|
Subject: [PATCH] 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>
|
|
---
|
|
sysdeps/aarch64/multiarch/memcpy_a64fx.S | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
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
|
|
--
|
|
2.31.1
|
|
|