From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DF431385480B; Thu, 3 Jun 2021 05:10:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DF431385480B From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/100885] [12 Regression] ICE: in extract_constrain_insn, at recog.c:2671: insn does not satisfy its constraints: {sse4_1_zero_extendv8qiv8hi2} Date: Thu, 03 Jun 2021 05:10:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2021 05:10:14 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100885 --- Comment #3 from Hongtao.liu --- (In reply to Hongtao.liu from comment #2) > > With avx512vl Yw should be matched, and w/o avx512bw, only SSE_REGS sho= uld > > be matched, why xmm16 is allocated? >=20 > It didn't come from RA, but post_reload splitter. >=20 > 18103(define_insn_and_split "*sse4_1_zero_extendv8qiv8hi2_3" > 18104 [(set (match_operand:V16QI 0 "register_operand" "=3DYr,*x,v") > 18105 (vec_select:V16QI > 18106 (vec_concat:V32QI > 18107 (match_operand:V16QI 1 "vector_operand" "YrBm,*xBm,vm") > 18108 (match_operand:V16QI 2 "const0_operand" "C,C,C")) > 18109 (match_parallel 3 "pmovzx_parallel" > 18110 [(match_operand 4 "const_int_operand" "n,n,n")])))] > 18111 "TARGET_SSE4_1" Need to adjust the third constraint from (v, vm, C, n) to (Yw, Ywm, C, n)=