about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2021-09-06 10:21:07 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2021-09-06 10:23:25 +0100
commitf873adf3df443f8d302677f963adcc3c22187e68 (patch)
tree2fb8efde8ba54c2d3d9dcf38db233997246e6d37 /sysdeps
parent30891f35fa7da832b66d80d0807610df361851f3 (diff)
downloadglibc-f873adf3df443f8d302677f963adcc3c22187e68.tar.gz
glibc-f873adf3df443f8d302677f963adcc3c22187e68.tar.xz
glibc-f873adf3df443f8d302677f963adcc3c22187e68.zip
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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/aarch64/multiarch/memset_a64fx.S9
1 files changed, 1 insertions, 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