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] |
On 10/30/2017 02:12 PM, H.J. Lu wrote:
What's the performance impact of the change? Is it even worth to use a jump table here?I added 2 strcpy implementations to hjl/pr22353/master. Jump table is faster than other non-SSE strcpy implementations because it can copy up to 4 bytes at a time.
To clarify, I meant replacing the jump table with conditional branches, basically getting rid of Duff's device.
Thanks, Florian
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |