Re: [PATCH] i386: Do not align small stack slots to 16 bytes

2017-03-07 Thread Segher Boessenkool
On Tue, Mar 07, 2017 at 08:23:17AM +0100, Uros Bizjak wrote: > > 2017-03-06 Segher Boessenkool > > > > * 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.

Re: [PATCH] i386: Do not align small stack slots to 16 bytes

2017-03-06 Thread Jakub Jelinek
On Tue, Mar 07, 2017 at 08:23:17AM +0100, Uros Bizjak wrote: > On Mon, Mar 6, 2017 at 6:51 PM, Segher Boessenkool > wrote: > > As Shmuel reported in > > , > > on x86-64 small structures in automatic storage are aligned to 16 bytes. > > This s

Re: [PATCH] i386: Do not align small stack slots to 16 bytes

2017-03-06 Thread Uros Bizjak
On Mon, Mar 6, 2017 at 6:51 PM, Segher Boessenkool wrote: > As Shmuel reported in , > 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 c

[PATCH] i386: Do not align small stack slots to 16 bytes

2017-03-06 Thread Segher Boessenkool
As Shmuel reported in , 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 Boessen