diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2021-05-20 13:13:51 -0400 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2021-05-20 17:28:33 -0400 |
commit | 6abf27980a947f9b6e514d6b33b83059d39566ae (patch) | |
tree | 23ea41e579dfcca57e8c48b8c4db0104912966be /nptl | |
parent | f5e196b5a0174ed23b739879c0a513ec762b7920 (diff) | |
download | glibc-6abf27980a947f9b6e514d6b33b83059d39566ae.tar.gz glibc-6abf27980a947f9b6e514d6b33b83059d39566ae.tar.xz glibc-6abf27980a947f9b6e514d6b33b83059d39566ae.zip |
x86: Improve memset-vec-unaligned-erms.S
No bug. This commit makes a few small improvements to memset-vec-unaligned-erms.S. The changes are 1) only aligning to 64 instead of 128. Either alignment will perform equally well in a loop and 128 just increases the odds of having to do an extra iteration which can be significant overhead for small values. 2) Align some targets and the loop. 3) Remove an ALU from the alignment process. 4) Reorder the last 4x VEC so that they are stored after the loop. 5) Move the condition for leq 8x VEC to before the alignment process. test-memset and test-wmemset are both passing. Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com> Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'nptl')
0 files changed, 0 insertions, 0 deletions