https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70293
Bug ID: 70293 Summary: [ICE, AVX-512] Wrong reg constraints in vec_dup Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: kyukhin at gcc dot gnu.org Target Milestone: --- Created attachment 38018 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38018&action=edit Reproducer Attached testcase ICEs when compiled as: ./xgcc -B. -mtune=broadwell -mavx512vl -O2 -S ~/pixman-sse.i 1_0.32.6-r0/pixman-0.32.6/pixman/pixman-sse2.c: In function ‘fast_composite_scaled_bilinear_sse2_8888_8_8888_none\ _OVER’: /home/donn/c/8.x/wrl-projects/intel-skylake-standard-glibc_std/bitbake_build/tmp/work/skylake-avx512-64-wrs-linux/pix\ man/1_0.32.6-r0/pixman-0.32.6/pixman/pixman-sse2.c:6059:1: error: insn does not satisfy its constraints: (insn 5050 5049 1065 58 (set (reg/v:V8HI 56 xmm19 [orig:670 D.27517 ] [670]) (vec_duplicate:V8HI (vec_select:HI (reg/v:V8HI 56 xmm19 [orig:670 D.27517 ] [670]) (parallel [ (const_int 0 [0]) ])))) /home/donn/c/8.x/wrl-projects/intel-skylake-standard-glibc_std/bitbake_build/tmp/sysroots/x\ 86_64-linux/usr/lib/x86_64-wrs-linux/gcc/x86_64-wrs-linux/5.2.0/include/emmintrin.h:606 4153 {avx2_pbroadcastv8hi} (nil)) /home/donn/c/8.x/wrl-projects/intel-skylake-standard-glibc_std/bitbake_build/tmp/work/skylake-avx512-64-wrs-linux/pix\ man/1_0.32.6-r0/pixman-0.32.6/pixman/pixman-sse2.c:6059:1: internal compiler error: in extract_constrain_insn, at rec\ og.c:2190 0xdaccab _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /export/users/kyukhin/gcc/git/gcc2/gcc/rtl-error.c:108 0xdacd0b _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /export/users/kyukhin/gcc/git/gcc2/gcc/rtl-error.c:119 0xd50b31 extract_constrain_insn(rtx_insn*) /export/users/kyukhin/gcc/git/gcc2/gcc/recog.c:2190 0xd5f1d3 copyprop_hardreg_forward_1 /export/users/kyukhin/gcc/git/gcc2/gcc/regcprop.c:774 0xd60afe execute /export/users/kyukhin/gcc/git/gcc2/gcc/regcprop.c:1280 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.