On Thu, Oct 9, 2014 at 2:13 PM, Kirill Yukhin <kirill.yuk...@gmail.com> wrote: > Hello, > This patch extends vec_init-related routines/patterns. > > Bootstrapped. > AVX-512* tests on top of patch-set all pass > under simulator. > > Is it ok for trunk? > > gcc/ > * config/i386/i386.c > (ix86_expand_vector_init_duplicate): Handle V64QI and V32HI modes, > update V8HI, V16QI, V32QI modes handling. > (ix86_expand_vector_init_general): Handle V64QI and V32HI modes. > * config/i386/sse.md > (define_mode_iterator VI48F_512): Rename to ... > (define_mode_iterator VI48F_I12_AVX512BW): ... this. Extend to > AVX-512BW modes. > (define_expand "vec_init<mode>"): Use VI48F_I12_AVX512BW.
LGTM, but I'd like to ask Jakub for his opinion on vec_init stuff. Uros.