On Tue, Apr 15, 2014 at 6:08 PM, Evgeny Stupachenko <evstu...@gmail.com> wrote: > 2d part: > > 2014-04-15 Evgeny Stupachenko <evstu...@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.