On Wed, Jul 8, 2015 at 1:41 PM, H.J. Lu <hongjiu...@intel.com> wrote: > Vectors should be passed in memory for IAMCU. > > OK for trunk? > > H.J. > --- > gcc/ > > PR target/66806 > * config/i386/i386.c (function_arg_advance_32): Don't pass > vectors in registers for IAMCU. > (function_arg_32): Likewise. > (ix86_return_in_memory): Don't return vectors in registers for > IAMCU. > > gcc/testsuite/ > > PR target/66806 > * gcc.target/i386/pr66806.c: New test.
> +/* { dg-do compile { target ia32 } } */ > +/* { dg-options "-miamcu -mno-sse -mno-mmx -miamcu -Wno-psabi" } */ Double -miamcu. Also, why Wno-psabi? We can check for the warning here, too. Uros.