From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 56AF33858D3C; Sun, 28 May 2023 05:42:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 56AF33858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685252561; bh=QBY036OfeWZ4Fy1i+yww63ZN7cpR8U5XRzm5UPXUV20=; h=From:To:Subject:Date:In-Reply-To:References:From; b=r8ZVoS30kiNNiORVMv3/6+yS/73qePOK7sMt2JwVqPtjspcg73jUz2DDQmGc8BhbG I9gTxnsQjwk2k7DG9uqrlT1hOWtLGJjwV932u72+qpxvQ2Ym1uL7bfSY5koF2bfroZ m7sb63fd9W4w7e8RK0S0n54HSQJGVGLkgYzZQrHs= From: "amonakov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzExMDAwN10gSW1wbGVtZW50IHN1cHBvcnQgZm9yIENs?= =?UTF-8?B?YW5n4oCZcyBfX2J1aWx0aW5fdW5wcmVkaWN0YWJsZSgp?= Date: Sun, 28 May 2023 05:42:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: amonakov at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: cc 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=3D110007 Alexander Monakov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #6 from Alexander Monakov --- Are you sure the branch is unpredictable in your micro-benchmark? If you ha= ve repeated runs you'll train the predictors. Implementing a __builtin_branchless_select would address such needs more directly. There were similar requests in the past, two of them related to q= sort and bsearch, unsurprisingly: PR 93165, PR 97734, PR 106804.=