From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 92828385781F for ; Fri, 17 Feb 2023 16:58:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 92828385781F 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 (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31HGEnfg012552; Fri, 17 Feb 2023 16:58:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : from : subject : to : cc : content-type : content-transfer-encoding; s=pp1; bh=Zg1I2liHiIfciw1oc4GjgbN1Io4O7VyLbbXJWvWWdC0=; b=HplKtXrhzW9/RPOHcP226U5XeP42mVIe6fnr3ni1x/Et3K1mFKeRvt9ZdsKPsJArLPJ0 jBuezJMXxvQJlKAb5ryRAX+8ejykhvvA0M+QsBvqaay4fc1AWr2ORTXu8NQy3K8RsL9S yD1cgZqchxFtXfmn1rlC/arV1IzrGH+T89q7VBjhOIqckhgByKk4iUAaljLap6OG9E6k dyTIdN4/cce9/KhyXrNgR7JQN7HwHoEYR3wMP9mehdnXZoBiTIIV5UVwtvaR2XXxT1Zg lMj3p06scUZFJTVUr79mPQE71CdwmhImCbSK8Rw/FT6pUxqeXOZuOXu7vF0FCol1Keui KA== Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3ntcx3s16e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Feb 2023 16:58:47 +0000 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 31HFomur000986; Fri, 17 Feb 2023 16:58:46 GMT Received: from smtprelay06.dal12v.mail.ibm.com ([9.208.130.100]) by ppma04dal.us.ibm.com (PPS) with ESMTPS id 3np2n80tuw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Feb 2023 16:58:46 +0000 Received: from smtpav05.wdc07v.mail.ibm.com (smtpav05.wdc07v.mail.ibm.com [10.39.53.232]) by smtprelay06.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 31HGwiej8454906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Feb 2023 16:58:45 GMT Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D8F6A58061; Fri, 17 Feb 2023 16:58:44 +0000 (GMT) Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7691458063; Fri, 17 Feb 2023 16:58:43 +0000 (GMT) Received: from [9.43.123.201] (unknown [9.43.123.201]) by smtpav05.wdc07v.mail.ibm.com (Postfix) with ESMTP; Fri, 17 Feb 2023 16:58:43 +0000 (GMT) Message-ID: <16fa34b8-ad8a-20f2-b285-3b3f5bf5d5b2@linux.ibm.com> Date: Fri, 17 Feb 2023 22:28:41 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Content-Language: en-US From: Ajit Agarwal Subject: [PATCH] rs6000: fmr gets used instead of faster xxlor [PR93571] To: gcc-patches Cc: bergner@linux.ibm.com, ", Segher Boessenkool" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: YPMe7Ruv6DCYe3cuf9dfVM0miCHtSoZV X-Proofpoint-ORIG-GUID: YPMe7Ruv6DCYe3cuf9dfVM0miCHtSoZV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-17_11,2023-02-17_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxlogscore=911 impostorscore=0 phishscore=0 spamscore=0 lowpriorityscore=0 mlxscore=0 clxscore=1011 bulkscore=0 priorityscore=1501 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302170148 X-Spam-Status: No, score=-11.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP 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: Hello All: This patch replaces fmr instruction (6 cycles) with xxlor instruction ( 2 cycles) Bootstrapped and regtested on powerpc64-linux-gnu. copyright assignment form is still in the process of being sent. Thanks & Regards Ajit rs6000: fmr gets used instead of faster xxlor [PR93571] This patch replaces 6 cycles fmr instruction with xxlor 2 cycles. 2023-02-17 Ajit Kumar Agarwal gcc/ChangeLog: * config/rs6000/rs6000.md (*movdf_hardfloat64): Replace fmr with xxlor instruction. --- gcc/config/rs6000/rs6000.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 4a7812fa592..dfd6c73ffcb 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -8436,7 +8436,7 @@ "@ stfd%U0%X0 %1,%0 lfd%U1%X1 %0,%1 - fmr %0,%1 + xxlor %0,%1,%1 lxsd %0,%1 stxsd %1,%0 lxsdx %x0,%y1 -- 2.31.1