This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH RFC] Imporve 64bit memcpy performance for Haswell CPU with AVX instruction
- From: Ling Ma <ling dot ma dot program at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: OndÅej BÃlka <neleai at seznam dot cz>, GNU C Library <libc-alpha at sourceware dot org>, Liubov Dmitrieva <liubov dot dmitrieva at gmail dot com>, yumkam at gmail dot com, Ling Ma <ling dot ml at alibaba-inc dot com>
- Date: Fri, 20 Jun 2014 06:22:44 +0800
- Subject: Re: [PATCH RFC] Imporve 64bit memcpy performance for Haswell CPU with AVX instruction
- Authentication-results: sourceware.org; auth=none
- References: <1398055946-4493-1-git-send-email-ling dot ma at alipay dot com> <CAOGi=dOQEbbkkzQGz-ZtQ0-WEHj2=hjmbstZXvZyLqycVy18Kg at mail dot gmail dot com> <20140515202213 dot GA20667 at domone dot podge> <CAOGi=dNbyxj+7gjwcpAVBxYB-MH9E7s=xi2nKwYXkDViasOZrA at mail dot gmail dot com> <CAMe9rOpC5-p7DV=xBfhUknkruz2-Ek+Bpzm+ycZiKdXtSyXxiA at mail dot gmail dot com> <CAOGi=dNHHvNriOMWmj2K3Ym7n6G83mGOyUzMtNY91nFr8=7G9w at mail dot gmail dot com> <CAOGi=dOJX3saKoa5YiDdveOqAb_=Sev4cBKyh7_gkXBU8_4=+g at mail dot gmail dot com> <CAMe9rOpEhNffr5iZUZLFp4QyBAE-Xrxna8-BQFv=tZXEXdSLSg at mail dot gmail dot com>
I have no additional update on it currently.
Thanks
Ling
2014-06-19 0:46 GMT+08:00, H.J. Lu <hjl.tools@gmail.com>:
> On Tue, Jun 10, 2014 at 6:54 AM, Ling Ma <ling.ma.program@gmail.com> wrote:
>> In this patch as gziped attachment, 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 8% compared with pending sse2 version.
>>
>> Appreciate your comment
>
> Any feedback? I'd like to check it in before 2.20 code freeze?
>
> Thanks.
>
>
> --
> H.J.
>