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 D4D8E3858D28; Wed, 7 Sep 2022 02:50:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D4D8E3858D28 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 (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2872UsQa026091; Wed, 7 Sep 2022 02:50:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : message-id : references : date : in-reply-to : mime-version : content-type; s=pp1; bh=NpXrHZIgySBYoJtlCx20ptn78fasulPGsdHjipCzvJQ=; b=me6qSRAjEw8AG2JoYo3v4KVdjJQ4h+qlbZJdqPfOTp/05OmGd3ix35jO2bCnTcL2h/Dk MQTdEAlAahsFQ+fQqXx9nICCop0r54fLaIiVdLbUHzCFBGBlgQ3V+SrS5SBPoEDYKYSA WY/PmfF0Qg0tCdwC325UdB75C2MB/yYRMvBHP7fjW12cPmM17vjJUhqKl+bQP18AOT+L Z+XHDVRfkRJ7NNMcJ68tCvASzX8uzrQS3YR1caiBRGbktXyd1RJuo/fUNL7eqmjtoHp9 g0dk7cxHDajKgWHOLHkiwivrMpAgaDL5Ml6isudhJSNIv12MbvxZiFbqpZ8eT2e2AulF vg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3jejk5gb8m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Sep 2022 02:50:32 +0000 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 2872mNvx039609; Wed, 7 Sep 2022 02:50:31 GMT Received: from ppma03wdc.us.ibm.com (ba.79.3fa9.ip4.static.sl-reverse.com [169.63.121.186]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3jejk5gb81-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Sep 2022 02:50:31 +0000 Received: from pps.filterd (ppma03wdc.us.ibm.com [127.0.0.1]) by ppma03wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 2872ZxRq029203; Wed, 7 Sep 2022 02:50:30 GMT Received: from b01cxnp22034.gho.pok.ibm.com (b01cxnp22034.gho.pok.ibm.com [9.57.198.24]) by ppma03wdc.us.ibm.com with ESMTP id 3jbxj9fa5a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Sep 2022 02:50:30 +0000 Received: from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com [9.57.199.110]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 2872oUGl10027522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 7 Sep 2022 02:50:30 GMT Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 075F5AE063; Wed, 7 Sep 2022 02:50:30 +0000 (GMT) Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BE58DAE062; Wed, 7 Sep 2022 02:50:29 +0000 (GMT) Received: from pike (unknown [9.5.12.127]) by b01ledav005.gho.pok.ibm.com (Postfix) with ESMTPS; Wed, 7 Sep 2022 02:50:29 +0000 (GMT) From: Jiufu Guo To: Segher Boessenkool Cc: gcc-patches@gcc.gnu.org, dje.gcc@gmail.com, linkw@gcc.gnu.org Subject: Re: [PATCH] Using pli(paddi) and rotate to build 64bit constants Message-ID: <7esfl3uccu.fsf@pike.rch.stglabs.ibm.com> References: <20220906122756.76006-1-guojiufu@linux.ibm.com> <20220906163546.GE25951@gate.crashing.org> Date: Wed, 07 Sep 2022 10:50:27 +0800 In-Reply-To: <20220906163546.GE25951@gate.crashing.org> (Segher Boessenkool's message of "Tue, 6 Sep 2022 11:35:46 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: eDJeXMO1xhKKdiXs4xXfTcGjaVciHCCX X-Proofpoint-GUID: bs2igjrfG6A1nsqZMF9CuCOmjz9gUlKA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-06_11,2022-09-06_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 spamscore=0 mlxscore=0 suspectscore=0 mlxlogscore=751 malwarescore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 adultscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209070009 X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,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: Segher Boessenkool writes: > Hi! > > On Tue, Sep 06, 2022 at 08:27:56PM +0800, Jiufu Guo wrote: >> + if (can_create_pseudo_p ()) >> + { >> + /* pli A,H + pli B,L + rldimi A,B,32,0. */ > > A is the low one and B is the high one (the one that needs to be > shifted). rl[wd]imi is one of our very few insns that has the output > register as one of the input registers as well. "Good" to see not just > the compiler has problems with this, but humans do as well! ;-) Yes, A is the low part and B is the high. Thanks for catch this! > > Otherwise looks good to me. Okay for trunk with that fixed somehow. > Thanks! Thanks again! BR, Jeff(Jiufu) > > > Segher