https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91150
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Aug 29 15:05:47 2019 New Revision: 275046 URL: https://gcc.gnu.org/viewcvs?rev=275046&root=gcc&view=rev Log: Backported from mainline 2019-07-30 Jakub Jelinek <ja...@redhat.com> PR target/91150 * config/i386/i386.c (expand_vec_perm_blend): Change mask type from unsigned to unsigned HOST_WIDE_INT. For E_V64QImode cast comparison to unsigned HOST_WIDE_INT before shifting it left. * gcc.target/i386/avx512bw-pr91150.c: New test. Added: branches/gcc-8-branch/gcc/testsuite/gcc.target/i386/avx512bw-pr91150.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/config/i386/i386.c branches/gcc-8-branch/gcc/testsuite/ChangeLog