Revert "AArch64: Update A64FX memset not to degrade at 16KB"

Because of wrong commit author. Will recommit it with right author.

This reverts commit 23777232c2.
This commit is contained in:
Szabolcs Nagy 2021-09-06 10:21:07 +01:00
parent 30891f35fa
commit f873adf3df

View 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