From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D2C8A3852769; Fri, 1 Dec 2023 21:16:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2C8A3852769 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701465419; bh=jJ36cm6OmxqY3YGhoE7+h+aMx2Cw9NdcrgQh78tV+L4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pjNbbEgI3RdcTO6O/bl85YbSbz4kFRxQXAqCrqkmbK7FY/nzOlR6T/i/iOdLllGT/ +x7l6hA1kPjb1a/0r7ENPzjhjFQOrUBpZpfMJdA+aEWmcUEWQEHjx6wLiykSlx9Ocx ri9EHj1t6+JYX8HCGx0GPcfxH6oiI8Dd0WeO/68o= From: "rdapp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112773] [14 Regression] RISC-V ICE: in force_align_down_and_div, at poly-int.h:1828 on rv32gcv_zvl256b Date: Fri, 01 Dec 2023 21:16:58 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rdapp 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: 14.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112773 --- Comment #13 from Robin Dapp --- Mostly an issue because our expander is definitely not prepared to handle t= hat :) It looks like aarch64's is, though, and ours can/should be changed then. aarch64 doesn't need to implement a qi/bi extract from a mask because the bit_field_ref fallback code works for sve masks. There is (at least) three things that prevent us from creating a vec_extract here. First, my old friend MODE_BITSIZE vs MODE_PRECISION, second we expec= t a mask -> BI extract here (while we do mask -> QI extraction on the other pat= h) but I haven't yet defined a vec_extract...bi either. Once those two are our of the way I still hit QI vs BI inconsistencies but I think they can be sorted out. Then we emit a VLA vec_extract. I hope to have a patch ready by Monday.=