This is the mail archive of the gcc-bugs@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]

[Bug target/83203] [8 Regression] Inefficient int to avx2 vector conversion


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83203

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jan 11 20:49:40 2018
New Revision: 256556

URL: https://gcc.gnu.org/viewcvs?rev=256556&root=gcc&view=rev
Log:
        PR target/83203
        * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): If one_var
        is 0, for V{8,16}S[IF] and V[48]D[IF]mode use gen_vec_set<mode>_0.
        * config/i386/sse.md (VI8_AVX_AVX512F, VI4F_256_512): New mode
        iterators.
        (ssescalarmodesuffix): Add 512-bit vectors.  Use "d" or "q" for
        integral modes instead of "ss" and "sd".
        (vec_set<mode>_0): New define_insns for 256-bit and 512-bit
        vectors with 32-bit and 64-bit elements.
        (vecdupssescalarmodesuffix): New mode attribute.
        (vec_dup<mode>): Use it.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/sse.md

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