This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: New optimized string routines for Intel and alignment of stack.
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 7 Jun 2016 06:19:52 -0700
- Subject: Re: New optimized string routines for Intel and alignment of stack.
- Authentication-results: sourceware.org; auth=none
- References: <57566200 dot 2040203 at redhat dot com> <dea8c68f-cc02-9427-4e54-acd795a930cf at redhat dot com> <5756B542 dot 4060608 at linaro dot org> <ba80400c-053a-977f-4524-f5817cc17fab at redhat dot com>
On Tue, Jun 7, 2016 at 5:23 AM, Florian Weimer <fweimer@redhat.com> wrote:
> On 06/07/2016 01:51 PM, Adhemerval Zanella wrote:
>
>> Besides string routines, do we have any C code that relies on stack
>> alignment
>> on 32-bit x86?
>
>
> Perhaps not today, but unless we change the ABI to the original definition,
> GCC is free to exploit the stack alignment for optimization purposes in the
> future.
>
The boat has sailed with the current i386 psABI:
https://github.com/hjl-tools/x86-psABI/wiki/X86-psABI
--
H.J.