From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 839023858C50; Tue, 27 Sep 2022 16:22:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 839023858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664295777; bh=3GLRkjIfVV7YhluDsvF/NuVXfoDNRS/I5hCMkwmvggs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ub8Kib63zPWox/b6IWYlT0pvePag1GTjRNmiZ8UqOGOdwv/gXSjPwFBIYJcmzntpx /rMWCbPaMZ8qcCQKJtW8xZ5wD6Y7MsLWC4Fs2jadn8M48lfDNlyRcgXSOdoDLCFxp8 RDsmp5XEBWWpp6+4GmAG9Hz7+LLcA+6f2dUHGf00= From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107052] Range of __builtin_popcount can be improved with nonzerobits Date: Tue, 27 Sep 2022 16:22:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: aldyh 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D107052 --- Comment #5 from Aldy Hernandez --- Created attachment 53633 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53633&action=3Dedit patch in testing This might do it.=