Hi,

The patch is for x86 Silvermont.
It improves x86 Silvermont vector cost model.
It gives +20% on facerec spec on Silvermont.
It passes make check and bootstrap on x86.

Is this patch ok for stage1?

ChangeLog:

2014-03-05  Evgeny Stupachenko  <evstu...@gmail.com>

    * config/i386/x86-tune.def (TARGET_SLOW_PSHUFB): Target for slow byte
    shuffle on some x86 architectures.
    * config/i386/i386.h (TARGET_SLOW_PSHUFB): Ditto.
    * config/i386/i386.c (processor_costs): Fixing vec_to_scalar_cost for
    Silvermont according latency table.
    (expand_vec_perm_even_odd_1): Avoid byte shuffles in architectures
    where they are slow (TARGET_SLOW_PSHUFB).
    (x86_add_stmt_cost): Fixing vector cost model for Silvermont.

Thanks,
Evgeny

Attachment: vect_slm_tune.patch
Description: Binary data

Reply via email to