]> sourceware.org Git - glibc.git/commit
x86-64: Fix memcpy IFUNC selection
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 4 Mar 2016 16:37:40 +0000 (08:37 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 4 Mar 2016 16:39:07 +0000 (08:39 -0800)
commit14a1d7cc4c4fd5ee8e4e66b777221dd32a84efe8
tree86611a9511bcc3cafb5de83890af6c0508e569a9
parent4b230f6a60f3bb9cae92306d016535f40578ff2e
x86-64: Fix memcpy IFUNC selection

Chek Fast_Unaligned_Load, instead of Slow_BSF, and also check for
Fast_Copy_Backward to enable __memcpy_ssse3_back.  Existing selection
order is updated with following selection order:

1. __memcpy_avx_unaligned if AVX_Fast_Unaligned_Load bit is set.
2. __memcpy_sse2_unaligned if Fast_Unaligned_Load bit is set.
3. __memcpy_sse2 if SSSE3 isn't available.
4. __memcpy_ssse3_back if Fast_Copy_Backward bit it set.
5. __memcpy_ssse3

[BZ #18880]
* sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
instead of Slow_BSF, and also check for Fast_Copy_Backward to
enable __memcpy_ssse3_back.
ChangeLog
sysdeps/x86_64/multiarch/memcpy.S
This page took 0.041357 seconds and 5 git commands to generate.