[Bug target/91150] [10 Regression] wrong code with -O -mavx512vbmi due to wrong writemask
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 30 12:50:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91150
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 12:49:27 2019
New Revision: 275164
URL: https://gcc.gnu.org/viewcvs?rev=275164&root=gcc&view=rev
Log:
Backported from mainline
2019-07-30 Jakub Jelinek <jakub@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-7-branch/gcc/testsuite/gcc.target/i386/avx512bw-pr91150.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/i386/i386.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list