Fix ICE of insn does not satisfy its constraints.
authorliuhongt <hongtao.liu@intel.com>
Thu, 3 Jun 2021 08:38:32 +0000 (16:38 +0800)
committerliuhongt <hongtao.liu@intel.com>
Mon, 7 Jun 2021 03:27:45 +0000 (11:27 +0800)
commitbe5efe9c12cb852c788f74f8555e6ab8d755479b
treecb264bb95cf555691dd800d18b3995c7bde55499
parent9a90b311f22956addaf4f5f9bdb3592afd45083f
Fix ICE of insn does not satisfy its constraints.

evex encoding vpmovzxbx needs both AVX512BW and AVX512VL which means
constraint "Yw" should be used instead of constraint "v".

gcc/ChangeLog:

PR target/100885
* config/i386/sse.md (*sse4_1_zero_extendv8qiv8hi2_3): Refine
constraints.
(<insn>v4siv4di2): Delete constraints for define_expand.

gcc/testsuite/ChangeLog:

PR target/100885
* g++.target/i386/pr100885.C: New test.
gcc/config/i386/sse.md
gcc/testsuite/g++.target/i386/pr100885.C [new file with mode: 0644]