[Bug string/19583] SSSE3_Fast_Copy_Backward flag needs to be enabled for AMD Excavator core
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Wed Mar 23 17:58:00 GMT 2016
https://sourceware.org/bugzilla/show_bug.cgi?id=19583
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, hjl/pr19583 has been created
at 327aadf6348bd41d1fae46ee7780e214c0a493c1 (commit)
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=327aadf6348bd41d1fae46ee7780e214c0a493c1
commit 327aadf6348bd41d1fae46ee7780e214c0a493c1
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Mar 23 10:33:19 2016 -0700
[x86] Add a feature bit: Fast_Unaligned_Copy
On AMD processors, memcpy optimized with unaligned SSE load is
slower than emcpy optimized with aligned SSSE3 while other string
functions are faster with unaligned SSE load. A feature bit,
Fast_Unaligned_Copy, is added to select memcpy optimized with
unaligned SSE load.
[BZ #19583]
* sysdeps/x86/cpu-features.c (init_cpu_features): Set
Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
processors. Set Fast_Copy_Backward for AMD Excavator
processors.
* sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
New.
(index_arch_Fast_Unaligned_Copy): Likewise.
* sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
-----------------------------------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list