https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91150
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Aug 1 06:29:22 2019 New Revision: 273964 URL: https://gcc.gnu.org/viewcvs?rev=273964&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-9-branch/gcc/testsuite/gcc.target/i386/avx512bw-pr91150.c Modified: branches/gcc-9-branch/gcc/ChangeLog branches/gcc-9-branch/gcc/config/i386/i386.c branches/gcc-9-branch/gcc/testsuite/ChangeLog