From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 1D0B33858D37; Wed, 31 May 2023 02:55:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1D0B33858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353728.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34V1FIZm008537; Wed, 31 May 2023 02:55:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : references : date : in-reply-to : message-id : content-type : mime-version; s=pp1; bh=e0hbcJdyUPKdO8V92obGHwTHf3u2gqX/c7PhuGHmhPM=; b=QIWKIhtlGbMd0VZe7a/+rcUHezLN44nazEG7TALk1DsCPcho1S9QF3nPMm8P4EqwL6R9 KKTrXXy/uACjMQgVL7xwjfC+QMXEdQ2SW/a0+FU9Adf2eXbI8/vkeQD5cq1S1bZSQ80L 4ak9Ru6+lJe1f0fgtabQqAst5QoNulCLS58X3qeiuVd1CaLf6OW8mT3L8SbzozYWYPg+ t4XVbl/1cCYNlyDJYTptrD1Ew+yZLxhHQDaxne+SW1qS/udKXByq+RueSagO1HOCgETt hEgwUItrpJTJyA7gRPbh1wB07nOtlR+/S499UkSgYxqHctc/EqSF+B+lF4rKO8tWBnAO 9Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qwrpvemsr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 May 2023 02:55:41 +0000 Received: from m0353728.ppops.net (m0353728.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34V2rSRj001876; Wed, 31 May 2023 02:55:40 GMT Received: from ppma05wdc.us.ibm.com (1b.90.2fa9.ip4.static.sl-reverse.com [169.47.144.27]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qwrpvems6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 May 2023 02:55:40 +0000 Received: from pps.filterd (ppma05wdc.us.ibm.com [127.0.0.1]) by ppma05wdc.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34UM5FM5012657; Wed, 31 May 2023 02:55:39 GMT Received: from smtprelay06.wdc07v.mail.ibm.com ([9.208.129.118]) by ppma05wdc.us.ibm.com (PPS) with ESMTPS id 3qu9g5sku2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 31 May 2023 02:55:39 +0000 Received: from smtpav06.wdc07v.mail.ibm.com (smtpav06.wdc07v.mail.ibm.com [10.39.53.233]) by smtprelay06.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34V2tcRK66781658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 31 May 2023 02:55:38 GMT Received: from smtpav06.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0CE9F5803F; Wed, 31 May 2023 02:55:38 +0000 (GMT) Received: from smtpav06.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B51405804E; Wed, 31 May 2023 02:55:37 +0000 (GMT) Received: from ltcden2-lp1.aus.stglabs.ibm.com (unknown [9.3.90.43]) by smtpav06.wdc07v.mail.ibm.com (Postfix) with ESMTPS; Wed, 31 May 2023 02:55:37 +0000 (GMT) From: Jiufu Guo To: Jiufu Guo via Gcc-patches Cc: segher@kernel.crashing.org, dje.gcc@gmail.com, linkw@gcc.gnu.org Subject: Ping^^^ [PATCH 0/4] rs6000: build constant via li/lis;rldicX References: <20230203102208.53215-1-guojiufu@linux.ibm.com> <7ncz65jabu.fsf@ltcden2-lp1.aus.stglabs.ibm.com> <7nv8hjl1is.fsf_-_@ltcden2-lp1.aus.stglabs.ibm.com> Date: Wed, 31 May 2023 10:55:33 +0800 In-Reply-To: <7nv8hjl1is.fsf_-_@ltcden2-lp1.aus.stglabs.ibm.com> (Jiufu Guo via Gcc-patches's message of "Wed, 26 Apr 2023 12:18:19 +0800") Message-ID: <7nv8g9xl96.fsf_-_@ltcden2-lp1.aus.stglabs.ibm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Content-Type: text/plain X-TM-AS-GCONF: 00 X-Proofpoint-GUID: XWZtD5pQd-eukSfeUKqcrKxqSa80-KR_ X-Proofpoint-ORIG-GUID: friYLxMCDxxGJH2FHMRSOn5Wo3syp0rW X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-30_18,2023-05-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 suspectscore=0 spamscore=0 mlxscore=0 phishscore=0 mlxlogscore=830 malwarescore=0 priorityscore=1501 bulkscore=0 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305310019 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,KAM_SHORT,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,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: Gentle ping... Jiufu Guo via Gcc-patches writes: > Hi, > > I would like to ping these patches. > [0/4] > https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611286.html > [1/4] > https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611287.html > [2/4] > https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611288.html > [3/4] > https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611289.html > [4/4] > https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611290.html > > Any sugguestions for the code functionality/style or to make > it easy for review, please point out, thanks in advance! > > > BR, > Jeff (Jiufu) > > Jiufu Guo via Gcc-patches writes: > >> Hi, >> >> Gental ping these patches: >> https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611286.html >> >> BR, >> Jeff (Jiufu) >> >> >> Jiufu Guo writes: >> >>> Hi, >>> >>> For a given constant, it would be profitable if we can use 2 insns to build. >>> This patch enables more constants building through 2 insns: one is "li or lis", >>> another is 'rldicl, rldicr or rldic'. >>> Through checking and analyzing the characters of the insns "li/lis;rldicX", >>> all the possible constant values are considered by this patch. >>> >>> Previously, a patch is posted, but it is too large. >>> https://gcc.gnu.org/pipermail/gcc-patches/2022-September/601276.html >>> As suggested, I split it into this series. >>> >>> Considering the functionality and size, 4 patches are split as below: >>> 1. Support the constants which can be built by "li;rotldi" >>> Both positive and negative values from insn "li" are analyzed. >>> 2. Support the constants which can be built by "lis;rotldi" >>> We only need to analyze the negative value from "lis". >>> And this patch uses more code to check leading 1s and tailing 0s from "lis". >>> 3. Support the constants which can be built by "li/lis;rldicl/rldicr": >>> Leverage the APIs defined/analyzed in patches 1 and 2, >>> this patch checks the characters for the mask of "rldicl/rldicr" >>> to support more constants. >>> 4. Support the constants which can be built by "li/lis;rldic": >>> The mask of "rldic" is relatively complicated, it is analyzed in this >>> patch to support more constants. >>> >>> BR, >>> Jeff (Jiufu)