This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] i386: Do not align small stack slots to 16 bytes


On Tue, Mar 07, 2017 at 08:23:17AM +0100, Uros Bizjak wrote:
> On Mon, Mar 6, 2017 at 6:51 PM, Segher Boessenkool
> <segher@kernel.crashing.org> wrote:
> > As Shmuel reported in <https://gcc.gnu.org/ml/gcc-help/2017-03/msg00009.html>,
> > on x86-64 small structures in automatic storage are aligned to 16 bytes.
> > This seems to be because of a mix-up between bits and bytes in the i386
> > target code.
> >
> > Is this okay for trunk?
> >
> >
> > Segher
> >
> >
> > 2017-03-06  Segher Boessenkool  <segher@kernel.crashing.org>
> >
> >         * gcc/config/i386/i386.c (ix86_local_alignment): Align most aggregates
> >         of 16 bytes and more to 16 bytes, not those of 16 bits and more.
> 
> OK for trunk and backports.

Just without gcc/ prefix in ChangeLog ;)

	Jakub


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