]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Revert "AArch64: Update A64FX memset not to degrade at 16KB"
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 6 Sep 2021 09:21:07 +0000 (10:21 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 6 Sep 2021 09:23:25 +0000 (10:23 +0100)
Because of wrong commit author. Will recommit it with right author.

This reverts commit 23777232c23f80809613bdfa329f63aadf992922.

sysdeps/aarch64/multiarch/memset_a64fx.S

index f7dfdaace7cfe74139d6d2261e88219035cbd6a1..7bf759b6a7530e76e2ec8f2d2f173eec0adead61 100644 (file)
@@ -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