diff options
author | Ling Ma <ling.ml@alibaba-inc.com> | 2014-07-14 00:02:52 -0400 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-07-30 08:02:35 -0700 |
commit | 05f3633da4f9df870d04dd77336e793746e57ed4 (patch) | |
tree | bd980df4702ffd9ebfa9cb4dac8823a659f0c430 /ChangeLog | |
parent | a53fbd8e6cd2f69bdfa3431d616a5f332aea6664 (diff) | |
download | glibc-05f3633da4f9df870d04dd77336e793746e57ed4.tar.gz glibc-05f3633da4f9df870d04dd77336e793746e57ed4.tar.xz glibc-05f3633da4f9df870d04dd77336e793746e57ed4.zip |
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%.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 7cb9a066b0..77bf70da8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,23 @@ +2014-07-30 Ling Ma <ling.ml@alibaba-inc.com> + + * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add + memmove-avx-unaligned, memcpy-avx-unaligned and + mempcpy-avx-unaligned. + * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): + Add tests for AVX memcpy functions. + * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy. + * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX + memcpy_chk. + * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove. + * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX + memmove_chk. + * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy. + * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX + mempcpy_chk. + * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file. + * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file. + * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file. + 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com> [BZ #17213] |