On Wed, Jul 8, 2015 at 4:57 PM, H.J. Lu <hjl.to...@gmail.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.
>>
>
> Here is the updated patch.  Since IA MCU won't change ABI for vectors,
> we shouldn't issue any warnings.
>
> Tested on Linux/x86-64.  OK for trunk?

OK for mainline with updated ChangeLogs.

Thanks,
Uros.

Reply via email to