This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH RFC] Imporve 64bit memcpy performance for Haswell CPU with AVX instruction


Any comments please.

Thanks
Ling

2014-07-14 12:28 GMT+08:00, Ling Ma <ling.ma.program@gmail.com>:
> In this patch 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 the whole
> performance from 2% to 10%, and 12~ 60% when copy size is over 256bytes.
>
> This version is based on latest ChangeLog,  and simplified memmove
> according to Ondra's comment.
>
> Thanks
> Ling
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]