From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by sourceware.org (Postfix) with ESMTPS id D600E385842D for ; Fri, 28 Apr 2023 17:02:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D600E385842D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=marvell.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=marvell.com Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33SA59Aj003400 for ; Fri, 28 Apr 2023 10:02:23 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=p3KnBRr6kIahWkIMhrJNXfVj/W0Sb7KR87iuKUyhNfI=; b=Uj8PcZ/9JGrmtyfXiJKpRjCs6crUa5Qt71etg3lLQm7AukA8bE7OhlvsbTcar7h49tDA TmH1oyO2bIs63uOWdehXWLU3BdYMcBcg+VUF4yoHx5EkvEMKqu9YjO249YlXo4SYRoZw 2V8wPQpKDFnmuq4yA6Vzy3X175hUZbNe1EhT3ILaZeaspOaciRfyWLV5NxVfpONLRIDq HTmBPCQS78oJPM+w+wwOS9x+y/FwAwK5PsEOnqVAAOhsBlYpNSb5hU8zqDI5EE47jrlY YJ3FZcqIk6R9V7VJ5w+GXc8UHm+WJhaHPPVAVwPI0kgXFM0vhbDS7/f/zLR5IGPW0P+b CA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3q85x6309v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Fri, 28 Apr 2023 10:02:23 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Fri, 28 Apr 2023 10:02:21 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Fri, 28 Apr 2023 10:02:21 -0700 Received: from vpnclient.wrightpinski.org.com (unknown [10.69.242.187]) by maili.marvell.com (Postfix) with ESMTP id 8EA085B692C; Fri, 28 Apr 2023 10:02:21 -0700 (PDT) From: Andrew Pinski To: CC: Andrew Pinski Subject: [PATCH 0/2] Porting of builtin_zero_pattern to match Date: Fri, 28 Apr 2023 10:02:11 -0700 Message-ID: <20230428170213.677572-1-apinski@marvell.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: lU-pDxJKkwKRtWwtSZ-4aUwG0Opok-7i X-Proofpoint-ORIG-GUID: lU-pDxJKkwKRtWwtSZ-4aUwG0Opok-7i X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-28_04,2023-04-27_01,2023-02-09_01 X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: These two patches implement the base support of builtin_zero_pattern into match.pd. To implement the other part requires match-and-simplify inside phiopt to support moving 2 statements from the middle-bb. The match.pd part is already incldued. I will try to get to it next week. Also __builtin_clrsb has not been moved yet either and I will get to that next week as well. Andrew Pinski (2): PHIOPT: Allow moving of some builtin calls MATCH: add some of what phiopt's builtin_zero_pattern did gcc/match.pd | 41 +++++++++++++++++++++++++++++++++++++++-- gcc/tree-ssa-phiopt.cc | 35 +++++++++++++++++++++++++++++++---- 2 files changed, 70 insertions(+), 6 deletions(-) -- 2.39.1