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 2/3, x86] X86 Silvermont vector cost model tune


On Tue, Apr 15, 2014 at 6:08 PM, Evgeny Stupachenko <evstupac@gmail.com> wrote:
> 2d part:
>
> 2014-04-15  Evgeny Stupachenko  <evstupac@gmail.com>
>
>        * config/i386/x86-tune.def (TARGET_SLOW_PHUFFB): Target for slow byte
>        shuffle on some x86 architectures.

... (X86_TUNE_SLOW_PSHUFB): New tune definition.

Typo: TARGET_SLOW_PHUFFB -> TARGET_SLOW_PSHUFB.

>        * config/i386/i386.h (TARGET_SLOW_PHUFFB): Ditto.

... : New tune flag.

>        * config/i386/i386.c (expand_vec_perm_even_odd_1): Avoid byte shuffles
>        in architectures where they are slow (TARGET_SLOW_PHUFFB).

...: Avoid byte shuffles for TARGET_SLOW_PSHUFB.

OK for mainline with the above ChangeLog modifications.

Thanks,
Uros.


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