This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Make SSE ABI compatible with ICC
> On Sun, Jan 04, 2004 at 07:37:53PM +0100, Jan Hubicka wrote:
> > * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
> > (function_arg_advance): Do not pass aggregates in SSE; deal handling
> > of MMX_REGPARM.
> > (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
> > add MMX_REGPARM.
> > * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
> > (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
> > (MMX_REGPARM_MAX): Similarly for -mmmx.
>
> Ok. This needs a note on the changes page.
Thanks, I have the changes page in my tree already, I will send it once
Zdenek's changes get in.
However while testing the patch before commit I noticed that it adds new
faiulre for simd-1.c C++ testcase. This is caused by the warning emit.
What would be best sollution for this? (I think I can either make it to
use -msse on i386 or xfail it)
Honza