]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR target/79568 (ICE in extract_insn, at recog.c:2311 for pr70325.c...
authorJakub Jelinek <jakub@redhat.com>
Tue, 30 May 2017 08:00:48 +0000 (10:00 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 30 May 2017 08:00:48 +0000 (10:00 +0200)
commit172ee05831c9bdec19418b105e1e55c2068213b1
tree300b375cc5b1096f75cfcbcb65dec32563fc1e3e
parent1eb05d1695bfe166882ab48c6e5a9e08d4e6a85d
backport: re PR target/79568 (ICE in extract_insn, at recog.c:2311 for pr70325.c (with -mavx512bw))

Backported from mainline
2017-02-20  Jakub Jelinek  <jakub@redhat.com>

PR target/79568
* config/i386/i386.c (ix86_expand_builtin): Handle
OPTION_MASK_ISA_AVX512VL and OPTION_MASK_ISA_64BIT in
ix86_builtins_isa[fcode].isa as a requirement of those
flags and any other flag in the bitmask.
(ix86_init_mmx_sse_builtins): Use 0 instead of
~OPTION_MASK_ISA_64BIT as mask.
* config/i386/i386-builtin.def (bdesc_special_args,
bdesc_args): Likewise.

* gcc.target/i386/pr79568-1.c: New test.
* gcc.target/i386/pr79568-2.c: New test.
* gcc.target/i386/pr79568-3.c: New test.

From-SVN: r248645
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr79568-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr79568-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr79568-3.c [new file with mode: 0644]