diff options
| author | Liubov Dmitrieva <liubov.dmitrieva@gmail.com> | 2012-03-30 16:45:27 -0400 |
|---|---|---|
| committer | Ulrich Drepper <drepper@gmail.com> | 2012-03-30 16:45:27 -0400 |
| commit | 4b43400f6a710fa3d931a57eaae4cb332fb60edc (patch) | |
| tree | b6c7b892ce5c42a2ba042c8a3369476bac077260 /ChangeLog | |
| parent | 48c41d04ee06efc6ec97325ed6697c121b40865f (diff) | |
| download | glibc-4b43400f6a710fa3d931a57eaae4cb332fb60edc.tar.xz glibc-4b43400f6a710fa3d931a57eaae4cb332fb60edc.zip | |
optimize the following memcpy: sysdeps/i386/i686/multiarch/memcpy-ssse3.S
I've improved the following implementation of memcpy:
"sysdeps/i386/i686/multiarch/memcpy-ssse3.S".
The patch includes some minor style fixes, but the important part is
just using prefetch loops for the case:
DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
src and dst pointers have unequal 16 byte alignments.
This gives from 6% - 50% performance boost on the atom machine, about
24,73% in geometric mean.
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com> + + * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update. + Optimize memcpy with prefetch if + DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and + src, dst pointers have unequal 16 byte alignments. + 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com> [BZ #13928] |
