From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 28CE73858D34; Wed, 6 Mar 2024 18:23:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28CE73858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709749401; bh=MY3e0b1ypmPPXtVhMglL0GOBwacHD+u466CM4qVOl0g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lEdBFcTrv48EjBWpHVUrl14HgajDOvHe6wrcUY8k4w1ivaTqlHZ7vYCAiGzL++5nt PBwV2B6bQUP6kZMYmk/PGxrKyGKd3L39Ywws85CB5O5jhkc3WebCB07TfR2JSnQzvk riHztz6NsDXD5CmCUvZE6SAUHSqd7szNMCAMO6vc= From: "law at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109760] riscv Internal compiler error in extract_insn after addition of XTheadCondMov Date: Wed, 06 Mar 2024 18:23:20 +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.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: law at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: law at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109760 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Jeffrey A. Law --- Di fixed this a while back. Bisection points to this: commit 55914b016de8c8514c58eb59822677a69e44135c Author: Die Li Date: Fri May 19 23:00:13 2023 -0600 Fix riscv_expand_conditional_move. Two issues have been observed in current riscv_expand_conditional_move implementation. 1. Before introduction of TARGET_XTHEADCONDMOV, op0 of comparision expression is used for mode comparision with word_mode, but after TARGET_XTHEADCON= DMOV megered with TARGET_SFB_ALU, dest of if-then-else is used for mode comparision with word_mode, and from md file mode of dest is DI or SI which can be diffe= rent with word_mode in RV64. 2. TARGET_XTHEADCONDMOV cannot be generated when the mode of the compar= ison is E_VOID.=