public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/maskray/unnest] Revert "AArch64: Update A64FX memset not to degrade at 16KB"
@ 2021-09-23  0:43 Fangrui Song
  0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2021-09-23  0:43 UTC (permalink / raw)
  To: glibc-cvs

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

commit f873adf3df443f8d302677f963adcc3c22187e68
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Mon Sep 6 10:21:07 2021 +0100

    Revert "AArch64: Update A64FX memset not to degrade at 16KB"
    
    Because of wrong commit author. Will recommit it with right author.
    
    This reverts commit 23777232c23f80809613bdfa329f63aadf992922.

Diff:
---
 sysdeps/aarch64/multiarch/memset_a64fx.S | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/sysdeps/aarch64/multiarch/memset_a64fx.S b/sysdeps/aarch64/multiarch/memset_a64fx.S
index f7dfdaace7..7bf759b6a7 100644
--- a/sysdeps/aarch64/multiarch/memset_a64fx.S
+++ b/sysdeps/aarch64/multiarch/memset_a64fx.S
@@ -96,14 +96,7 @@ L(vl_agnostic): // VL Agnostic
 L(unroll8):
 	sub	count, count, tmp1
 	.p2align 4
-	// The 2 instructions at the beginning of the following loop,
-	// cmp and branch, are a workaround so as not to degrade at
-	// the peak performance 16KB.
-	// It is found heuristically and the branch condition, b.ne,
-	// is chosen intentionally never to jump.
-1:	cmp	xzr, xzr
-	b.ne	1b
-	st1b_unroll 0, 7
+1:	st1b_unroll 0, 7
 	add	dst, dst, tmp1
 	subs	count, count, tmp1
 	b.hi	1b


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

only message in thread, other threads:[~2021-09-23  0:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23  0:43 [glibc/maskray/unnest] Revert "AArch64: Update A64FX memset not to degrade at 16KB" 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).