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/70329] wrong code with -mavx512bw and 64byte vectors


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Mar 22 08:28:49 2016
New Revision: 234394

URL: https://gcc.gnu.org/viewcvs?rev=234394&root=gcc&view=rev
Log:
        PR target/70329
        * config/i386/i386.c (ix86_expand_vecop_qihi): Don't bother computing
        d.perm[i] for i >= d.nelt.  If not full_interleave, compute d.perm[i]
        in a way that works also for AVX512BW.

        * gcc.target/i386/avx512bw-pr70329-1.c: New test.
        * gcc.target/i386/avx512bw-pr70329-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/avx512bw-pr70329-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512bw-pr70329-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog

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