From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DAABC3858C2D; Sat, 13 May 2023 07:01:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAABC3858C2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683961310; bh=T3BD0TrILuV6xkHz7BV6qzJvB78o56TlpNKhb+W0Pag=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jmL9YeXZuuxOR749ju+9Mdjm7Klz2a3oAD04jHOWi67Hppce84Arvkfb3DOiv/M+K SXnG6D5f+jXfCas67i4EHYkuovht+5mzcTrEc8lOjAOjloJ5jHm4NEtMJNOxwv2DRF /i3H9joi/GtqzGcjolwenYtRCUcS1t7OE3FJRXqo= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/109840] [14 Regression] internal compiler error: in expand_fn_using_insn, at internal-fn.cc:153 when building graphite2 Date: Sat, 13 May 2023 07:01:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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=3D109840 --- Comment #3 from Andrew Pinski --- Now the aarch64 backend could add hi and qi patterns for popcount. For the TARGET_CSSC case, it would need to zero extend to SImode. For the !TARGET_CSSC case, it would also zero extend but instead to DImode (just like SImode case). But I am not 100% sure there might be other backends that would need this. Now the expansion of the popcount Internal function could do the zero extend but that is not what the internal function is for ...=