This is the mail archive of the gcc-patches@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: [PATCH, x86] Improves x86 permutation expand


On Fri, Jul 4, 2014 at 2:49 PM, Evgeny Stupachenko <evstupac@gmail.com> wrote:
> 2014-07-04  Evgeny Stupachenko  <evstupac@gmail.com>
>
>         * config/i386/i386.c (expand_vec_perm_pblendv): Disable for AVX.

Please mention PR target/61618 above.

>>> The following patch should fix 61618
>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61618
>>>
>>> diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
>>> index 8046c67..2cffcef 100644
>>> --- a/gcc/config/i386/i386.c
>>> +++ b/gcc/config/i386/i386.c
>>> @@ -43211,12 +43211,10 @@ expand_vec_perm_pblendv (struct expand_vec_perm_d *d)
>>>    bool ok;
>>>
>>>    /* Use the same checks as in expand_vec_perm_blend, but skipping
>>> -     AVX2 as it requires more than 2 instructions for general case.  */
>>> +     AVX float case and AVX2 as they require more than 2 instructions.  */

Just say:

AVX and AVX2, as they require ...

OK with these changes.

Uros.


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