about summary refs log tree commit diff
path: root/sysdeps/x86_64/bsd-_setjmp.S
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-03-04 08:37:40 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-04-02 09:38:04 -0700
commite455d17680cfaebb12692547422f95ba1ed30e29 (patch)
tree2d9160af4b59ae6376b06fa01c6b0f61f9619f5e /sysdeps/x86_64/bsd-_setjmp.S
parent0eb234232eaf925fe4dca3bd60a3e1b4a7ab2882 (diff)
downloadglibc-e455d17680cfaebb12692547422f95ba1ed30e29.tar.gz
glibc-e455d17680cfaebb12692547422f95ba1ed30e29.tar.xz
glibc-e455d17680cfaebb12692547422f95ba1ed30e29.zip
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.

(cherry picked from commit 14a1d7cc4c4fd5ee8e4e66b777221dd32a84efe8)
Diffstat (limited to 'sysdeps/x86_64/bsd-_setjmp.S')
0 files changed, 0 insertions, 0 deletions