From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EA5E23858420; Fri, 17 Dec 2021 17:35:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA5E23858420 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/103624] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn) Date: Fri, 17 Dec 2021 17:35:40 +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-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org 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: Fri, 17 Dec 2021 17:35:41 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103624 --- Comment #10 from CVS Commits --- The master branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:7194397966e6a007cee42360f96834377c3121a4 commit r12-6047-g7194397966e6a007cee42360f96834377c3121a4 Author: Segher Boessenkool Date: Fri Dec 17 16:59:55 2021 +0000 rs6000: Redo darn (PR103624) The builtins now all return "long". The patterns have :GPR as the output mode, so they can be 32-bit as well (the instruction makes sense in 32 bit just fine). The builtins expand to the DImode version normally, but to the SImode if {32bit} is true. 2021-12-17 Segher Boessenkool PR target/103624 * config/rs6000/rs6000-builtins.def (__builtin_darn): Expand to darn_64_di. Add {32bit} attribute. Return long. (__builtin_darn_32): Expand to darn_32_di. Add {32bit} attribu= te. Return long. (__builtin_darn_raw): Expand to darn_raw_di. Add {32bit} attribute. Return long. * config/rs6000/rs6000-call.c (rs6000_expand_builtin): Expand t= he darn builtins to the _si variants for -m32. * config/rs6000/rs6000.md (UNSPECV_DARN_32, UNSPECV_DARN_RAW): Delete. (UNSPECV_DARN): Update comment. (darn_32, darn_raw, darn): Delete. (darn_32_, darn_64_, darn_raw_ for GPR): New. (@darn for GPR): New.=