From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BADC83990839; Wed, 12 May 2021 18:38:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BADC83990839 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/98218] [TARGET_MMX_WITH_SSE] Implement 64bit vector compares (AVX512 masked compares missing) Date: Wed, 12 May 2021 18:38:53 +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: 11.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement 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: 12.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, 12 May 2021 18:38:53 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98218 --- Comment #12 from Uro=C5=A1 Bizjak --- (In reply to David Binderman from comment #11) > I might be seeing something similar: >=20 > caxcpy.f: In function 'caxcpy': > caxcpy.f:53:72: error: unrecognizable insn: > 53 | end subroutine > |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > ^ > (insn 136 135 137 16 (set (reg:V2SF 107 [ vect__96.11 ]) > (if_then_else:V2SF (reg:V2SF 220) > (reg:V2SF 84 [ _3 ]) > (reg:V2SF 219))) -1 > (nil)) > during RTL pass: vregs > caxcpy.f:53:72: internal compiler error: in extract_insn, at recog.c:2770 Yeah, this is a non-existent SSE "cmove". I tried to find all paths where t= his should divert to a sequence of logic instructions or PBLENDB, but due to plethora of ISAs some cmove expansions fell through the cracks. Fortunately, easy to fix problem, please just provide a testcase.=