public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/maskray/unnest] aarch64: Disable A64FX memcpy/memmove BTI unconditionally
@ 2021-09-24 20:12 Fangrui Song
  0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2021-09-24 20:12 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=381b29616abb82babc8163bdf516c6da87544b35

commit 381b29616abb82babc8163bdf516c6da87544b35
Author: Naohiro Tamura <naohirot@fujitsu.com>
Date:   Fri Sep 24 07:49:59 2021 +0000

    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>

Diff:
---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-24 20:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 20:12 [glibc/maskray/unnest] aarch64: Disable A64FX memcpy/memmove BTI unconditionally Fangrui Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).