This is the mail archive of the gcc-bugs@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: SSE arguments alignment


> On Fri, 11 Oct 2002, Richard Henderson wrote:
> 
> > On Fri, Oct 11, 2002 at 02:48:15PM +0200, Jan Hubicka wrote:
> > > Yes, that is the bug - outgoing operands are always aligned to 32bit
> > > only as ia32 ABI mandates.  I am not quite sure how this should be
> > > hanled, as we need to increase the alignment of only SSE operands
> > > (probably structure containing SSE operand too, but structure containing
> > > other 128bit or 64bit aligned field should not get aligned).
> > 
> > Err, this was already handled, I thought.  Apparently not.
> > Bernd, did that stuff get left on a branch somewhere?
> 
> More likely it got broken in one of the many code rearrangements since this
> stuff was written.  ix86_function_arg_boundary looks like it has a bogus
> test for !TARGET_64BIT at the start.

It looks like the ix86_function_arg_boundary is different version added
by me while porting to x86-64.  I remember I saw the alignment code on
the patches list, and I think it didn't went it as it has been packed
into dynamic stacxk alignment code that also didn't get mermged.

Since it would be nice to have this issue fixed in 3.3 release, I can
take a look at it if you don't have time anytime soon.

Honza
> Sigh.  I'll look into it, eventually.
> 
> 
> Bernd


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