From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A2F69385781F; Fri, 17 Feb 2023 14:33:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A2F69385781F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676644384; bh=OLzAPagmh2p34NYsm4/+XUrR/hgY9GcCepCH1zyms2g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OCnYSEZWhlN0jqZxdBxnEPc0nkTBxX3DLGX9RW196XxW8jglpAaEu09TLXEutedzP 1QtXkmfoVzFGuv7wBinMfwcxF6U0uxtNMOR0+RFwa+PYkSWev84tlSz88/LYw9zZQ5 7QwEAaTdAG3Q2Kq9gMNyXd+5t7MFOG6T/HKQJIoQ= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/90838] Detect table-based ctz implementation Date: Fri, 17 Feb 2023 14:33:04 +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: 9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wilco at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.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=3D90838 --- Comment #18 from Jakub Jelinek --- It is generally a win for cases where the condition can't be predicted, whi= le if it can, jumps are much better. We have dozens or hundreds of PRs about = this in either direction on x86.=