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 2763F38582A1 for ; Fri, 30 Jun 2023 23:51:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2763F38582A1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=us.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=us.ibm.com Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35UNgEOM020026; Fri, 30 Jun 2023 23:51:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : mime-version : content-transfer-encoding; s=pp1; bh=f/151vZzoERmsu1oBFn6WvW2Bj5dJcjaXDBSjV0IJIM=; b=Lq09hSwUboPRGyZMx/7Tb0wTHhc/Pv58yfMp9bdNL4eN/7TnRf7UQwerrGXO7N7plCSG SeWVvXiZl6WAF76UFYwa9IBv+EGxmnOEp51+tJA1J68tbju0PpVzqynjnFeFXuW5E2jW p4YbygNnRweCb1A9U/M2u9CTrcrFLkaE9dwLuBNrb5Ptt9JDtk7Emvr+KOA9vTAx01BL Euak1lqKP1vZynZpFIsBDy3ch3AHHssN3WY5p4gI5meiPqYqBNp13Ish26FlASevT5Av eqGeFNbGickSEKm/Ly2TV8Kejhg6XQVvLPp5URxtG/AbH5d0WO7H5m/9WV9XaUSIr4hP YQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3rj8xy05j7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Jun 2023 23:51:01 +0000 Received: from m0353726.ppops.net (m0353726.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 35UNhDjN022102; Fri, 30 Jun 2023 23:51:01 GMT Received: from ppma02wdc.us.ibm.com (aa.5b.37a9.ip4.static.sl-reverse.com [169.55.91.170]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3rj8xy05hs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Jun 2023 23:51:01 +0000 Received: from pps.filterd (ppma02wdc.us.ibm.com [127.0.0.1]) by ppma02wdc.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 35UJckC8023981; Fri, 30 Jun 2023 23:50:59 GMT Received: from smtprelay02.wdc07v.mail.ibm.com ([9.208.129.120]) by ppma02wdc.us.ibm.com (PPS) with ESMTPS id 3rdr46jgnj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Jun 2023 23:50:59 +0000 Received: from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com [10.241.53.105]) by smtprelay02.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 35UNowEA4129466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 30 Jun 2023 23:50:58 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5864B58055; Fri, 30 Jun 2023 23:50:58 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C5AF058043; Fri, 30 Jun 2023 23:50:57 +0000 (GMT) Received: from li-e362e14c-2378-11b2-a85c-87d605f3c641.ibm.com (unknown [9.61.18.149]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Fri, 30 Jun 2023 23:50:57 +0000 (GMT) Message-ID: <91e3ee5260547effa12376de46911f4f0e29d12b.camel@us.ibm.com> Subject: Re: [PATCH] rs6000: Update the vsx-vector-6.* tests. From: Carl Love To: "Kewen.Lin" , cel@us.ibm.com Cc: Peter Bergner , Segher Boessenkool , gcc-patches@gcc.gnu.org, David Edelsohn Date: Fri, 30 Jun 2023 16:50:57 -0700 In-Reply-To: References: <5197d0d8ab5e975ed7e1e928820769e5921f5796.camel@us.ibm.com> <621ac0734ae83c7ca6af00d804a3d3bc2bbbea5b.camel@us.ibm.com> <3f8d0bdc-bddf-d178-ee76-8d41c4b8755f@linux.ibm.com> <4d3135956e493fc12311af8fce18d043769ab7a4.camel@us.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-18.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: -EUKw7dndBeYjZPW-rWtjdyB8FeKQ-tE X-Proofpoint-ORIG-GUID: L9-2saNxfVcuBrLBnrUfyqgv4uuHPDgi X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-30_13,2023-06-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxscore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 spamscore=0 suspectscore=0 malwarescore=0 mlxlogscore=714 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306300206 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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: Kewen: On Fri, 2023-06-30 at 15:20 -0700, Carl Love wrote: > So, went to look at the assembly to verify my comment on the > difference > being related to the loads. I decided to actually count the > instructions just to verify the number in the assembly files. > Before, > I just looked at the assembly briefly but didn't dig in very deep. > > If I compile the tests and dump the assembly with: > gcc -g -mcpu=power8 -o vsx-vector-6-func-2lop vsx-vector-6-func- > 2lop.c > > objdump -S -d vsx-vector-6-func-2lop > vsx-vector-6-func-2lop.dump > > grep xxlor vsx-vector-6-func-2lop.dump | wc > 4 28 192 > > So we see 4 xxlor instructions not 32 as expeced for BE or 22 as > expected for LE as the test claims. I get the same count of 4 on > both > makalu and on genoa. With a little help from Peter and Julian Wang. Objdump decodes some of the xxlor instructions as xxmr instsructions. The xxmr is a new mnemonic which will be out in the next ISA. But objdump already produces it. So if you add the counts for grep xxlor and grep xxmr you get a total of 34 which agress with the count of xxlor in the gcc -S generated assembly. Carl