[PATCH][AVX512] Swap Yk and k constraints.

Ilya Tocar tocarip.intel@gmail.com
Thu Jan 30 13:42:00 GMT 2014


2014-01-30 H.J. Lu <hjl.tools@gmail.com>:
> On Thu, Jan 30, 2014 at 2:54 AM, Ilya Tocar <tocarip.intel@gmail.com> wrote:
>> Hi,
>>
>> Turns out that for Icc meaning of Yk and k constraints
>> (exposed through inline asm) is opposite to current GCC implementation.
>> As Icc with such behavior was already releases and GCC wasn't. I propose
>> to swap meaning of Yk and k constraints. Changes are pretty mechanical.
>> Bootstraps/passes make check/SPEC2006. Ok for trunk?
>>
>
> Does KNC GCC support Yk/k? How are they handled?
>
In KNC GCC Yk is MASK_WRITE_REGS and k is MASK_REGS.
So it looks like it's consistent with Icc.



More information about the Gcc-patches mailing list