]> sourceware.org Git - glibc.git/commit
x86: Update large memcpy case in memmove-vec-unaligned-erms.S
authornoah <goldstein.w.n@gmail.com>
Sat, 3 Apr 2021 08:12:15 +0000 (04:12 -0400)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 16 Apr 2021 17:06:56 +0000 (10:06 -0700)
commit1a8605b6cd257e8a74e29b5b71c057211f5fb847
tree94acd01de0d39b65815ef2297c6bedcc11b56276
parent5d61fc2021922b4f572be218dad5b299e2939346
x86: Update large memcpy case in memmove-vec-unaligned-erms.S

No Bug. This commit updates the large memcpy case (no overlap). The
update is to perform memcpy on either 2 or 4 contiguous pages at
once. This 1) helps to alleviate the affects of false memory aliasing
when destination and source have a close 4k alignment and 2) In most
cases and for most DRAM units is a modestly more efficient access
pattern. These changes are a clear performance improvement for
VEC_SIZE =16/32, though more ambiguous for VEC_SIZE=64. test-memcpy,
test-memccpy, test-mempcpy, test-memmove, and tst-memmove-overflow all
pass.

Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
This page took 0.044297 seconds and 5 git commands to generate.