From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1E0793858C39; Wed, 6 Jul 2022 20:07:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E0793858C39 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106180] [13 Regression] ICE in extract_insn, at recog.cc:2791 since r13-1418-g73f942c08deef3 Date: Wed, 06 Jul 2022 20:07:18 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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: Wed, 06 Jul 2022 20:07:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106180 --- Comment #6 from Uro=C5=A1 Bizjak --- Comment on attachment 53261 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53261 This patch aims to handle memory issue when unpacking in cvtps2pd >@@ -9270,7 +9270,15 @@ > (vec_select:V2SF > (match_operand:V4SF 1 "vector_operand") > (parallel [(const_int 0) (const_int 1)]))))] >- "TARGET_SSE2") >+ "TARGET_SSE2" >+{ >+ if (MEM_P (operands[1])) >+ { >+ operands[1] =3D gen_lowpart (V2SFmode, operands[1]); >+ emit_insn (gen_sse2_cvtps2pd_1 (operands[0], operands[1])); >+ DONE; >+ } >+}) Does adjust_address_nv work here instead of gen_lowpart? Uros.=