From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1BF5E3858CDA; Tue, 28 Mar 2023 04:34:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1BF5E3858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679978071; bh=sz9Crgi5W7MKBM6jOmAtSAzjrLA2w+fzN3JQnHiMCfE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IwuAjqkk6xk7/a/y+bfPRHkJ2CUcCRMJl0FxNTH67ZXuTWYzJi2t268tPorZos2p6 cdKOP5Mm7S8qD6KHQedZlDLWHUjAuXnge1BH5g1580hl+DSgZWPrSEy8UVbiPX+8fs 60FX1l0fo48gLW00N9+4hrbDh4NBtULYDvju60Pk= From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108129] nop_atomic_bit_test_and_p is too bloated Date: Tue, 28 Mar 2023 04:34:30 +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: 13.0 X-Bugzilla-Keywords: internal-improvement X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com 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: 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=3D108129 --- Comment #4 from Hongtao.liu --- We may merge ATOMIC_XXX_N with SYNC_XXX_N if the "?" can be extent to optio= nal operand. The only difference between them is ATOMIC_XXX_N has one more parameter, and it's not used by the pattern match. Currently "?" only support optional unary operation. *** The support for ? marking extends to all unary operations including predica= tes you declare yourself with match.***=