]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
Improve 64bit memcpy performance for Haswell CPU with AVX instruction
authorLing Ma <ling.ml@alibaba-inc.com>
Mon, 14 Jul 2014 04:02:52 +0000 (00:02 -0400)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 30 Jul 2014 15:02:35 +0000 (08:02 -0700)
commit05f3633da4f9df870d04dd77336e793746e57ed4
treebd980df4702ffd9ebfa9cb4dac8823a659f0c430
parenta53fbd8e6cd2f69bdfa3431d616a5f332aea6664
Improve 64bit memcpy performance for Haswell CPU with AVX instruction

In this patch we take advantage of HSW memory bandwidth, manage to
reduce miss branch prediction by avoiding using branch instructions and
force destination to be aligned with avx instruction.

The CPU2006 403.gcc benchmark indicates this patch improves performance
from 2% to 10%.
12 files changed:
ChangeLog
sysdeps/x86_64/multiarch/Makefile
sysdeps/x86_64/multiarch/ifunc-impl-list.c
sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S [new file with mode: 0644]
sysdeps/x86_64/multiarch/memcpy.S
sysdeps/x86_64/multiarch/memcpy_chk.S
sysdeps/x86_64/multiarch/memmove-avx-unaligned.S [new file with mode: 0644]
sysdeps/x86_64/multiarch/memmove.c
sysdeps/x86_64/multiarch/memmove_chk.c
sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S [new file with mode: 0644]
sysdeps/x86_64/multiarch/mempcpy.S
sysdeps/x86_64/multiarch/mempcpy_chk.S