https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82812
Bug ID: 82812 Summary: ICE in emit_move_insn, at expr.c:3706 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: julia.koval at intel dot com, kyukhin at gcc dot gnu.org Target Milestone: --- Target: x86_64-linux-gnu A GFNI fails starting from r254250: $ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/gfni-3.c -mgfni during RTL pass: expand In file included from /home/marxin/bin/gcc/lib64/gcc/x86_64-pc-linux-gnu/8.0.0/include/immintrin.h:95:0, from /home/marxin/bin/gcc/lib64/gcc/x86_64-pc-linux-gnu/8.0.0/include/x86intrin.h:48, from /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/gfni-3.c:6: /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/gfni-3.c: In function ‘avx512vl_test’: /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/gfni-3.c:15:10: internal compiler error: in emit_move_insn, at expr.c:3703 x3 = _mm256_gf2p8affineinv_epi64_epi8(x3, x4, 3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x8d4cba emit_move_insn(rtx_def*, rtx_def*) ../../gcc/expr.c:3702 0x8b7342 copy_to_reg(rtx_def*) ../../gcc/explow.c:591 0xfec6d6 ix86_expand_args_builtin ../../gcc/config/i386/i386.c:34113 0xff96ef ix86_expand_builtin ../../gcc/config/i386/i386.c:37244 0x77d6e5 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) ../../gcc/builtins.c:6512 0x8d1269 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc/expr.c:10847 0x8dceb3 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node*) ../../gcc/expr.c:5551 0x8de6b7 expand_assignment(tree_node*, tree_node*, bool) ../../gcc/expr.c:5319 0x7ad8ed expand_call_stmt ../../gcc/cfgexpand.c:2672 0x7b0cd8 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3608 0x7b13ce expand_gimple_stmt ../../gcc/cfgexpand.c:3774 0x7b8f02 expand_gimple_basic_block ../../gcc/cfgexpand.c:5779 0x7ba92f execute ../../gcc/cfgexpand.c:6385