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 06/07/2016 02:25 PM, Zack Weinberg wrote:
On Tue, Jun 7, 2016 at 8:23 AM, Florian Weimer <fweimer@redhat.com> wrote:On 06/07/2016 01:51 PM, Adhemerval Zanella wrote:Also, is there any performance issue with current unaligned versionI think there is a performance penalty from not using vectorized copies for small structs. Even unaligned SSE loads/stores would be a win for the example I posted, I assume.Is the gain from using vectorized copies large enough that manually aligning the stack in functions that want to use those instructions would be worth it?
Probably not, using unaligned loads/stores would likely be cheaper than stack alignment (unless the function already has a frame pointer for another reason).
Florian
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |