From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B24ED3858D31; Sun, 19 Apr 2020 18:28:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B24ED3858D31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587320899; bh=5xuWrePpT2hQb5K5sc7L574sUcU63PcUcKpHQOmKHCI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jZ/NuXcC1c2Frb128qKgz5ECckPJvqntLj6KJFZPaibEQ6PI86ALEECs1Gs7P2NAb gZI677dPqJ+3HDgKTIYgBy4ySTtEy0HiAU/RGj9i7wa++3fBYG+ITEVWWvEMx/v1hH GEV44ipt74ooqx5PLTB5GhvwpArCwuJhZCfhsKd0= From: "law at redhat dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/15826] don't use "if" to extract a single bit bit-field. Date: Sun, 19 Apr 2020 18:28:19 +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: 4.0.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: law at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc see_also 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 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: Sun, 19 Apr 2020 18:28:19 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D15826 Jeffrey A. Law changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |law at redhat dot com See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D81601 Resolution|--- |FIXED --- Comment #19 from Jeffrey A. Law --- So the core issue here, using an if, conditional moves and the like to do single bit field extraction/testing is resolved. There is still an issue of canonicalizing the two representations which in = turn opens up the possibility of finding more common subexpressions when both fo= rms might be used. That is actually being tracked via pr81601.=