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 3BE923858D39 for ; Fri, 26 Aug 2022 02:42:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3BE923858D39 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.5/8.17.1.5) with ESMTP id 27Q1sUx1022428; Fri, 26 Aug 2022 02:42:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=cwBCnW/GlodHP1Xqx1T+hIFcH5pMJ11B341lPwKA6Qc=; b=CfSaDblu4Lzn42QX7Na1ldhVht+cSyrKbqOPnGcKizmAqOovZHd4JoTFLDjAbf+Bo1BN ENa4HnIN14bemQCKq26HTx817OcgepGWMHKObMOdSzgHDXWMiLMgedwolZtHUPuzSaYC fuhGLX+fXQIgGTQO+8kVx3XMG+t+X4uwAzoYgrHOT+Nxp05o7DeMx2KQAJ9+G7Yt94ub 9gq3JqVZD5rAtDStc6/3XiLf1ftQF/k3jh6QXmClESG0AOwg0xrNkxKLPlzFolPFMG4t Na0RbJEuVQlQ54t0Wd1yfmf85N6tyxVMPCJGRIFbn2V8Zy1Qfl4uGY/0sduFElTXWeV7 Vg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3j6mx50y60-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Aug 2022 02:42:33 +0000 Received: from m0098420.ppops.net (m0098420.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 27Q2gX3U009191; Fri, 26 Aug 2022 02:42:33 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3j6mx50y5g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Aug 2022 02:42:33 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 27Q2ZNXe019292; Fri, 26 Aug 2022 02:42:31 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma03ams.nl.ibm.com with ESMTP id 3j2q88y3ns-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Aug 2022 02:42:31 +0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 27Q2gR3Q37749182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Aug 2022 02:42:27 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 16D48423D1; Fri, 26 Aug 2022 02:42:27 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 27518423CA; Fri, 26 Aug 2022 02:42:25 +0000 (GMT) Received: from [9.197.246.144] (unknown [9.197.246.144]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 26 Aug 2022 02:42:24 +0000 (GMT) Message-ID: <4edae9bd-4a0e-449e-08ed-6029f4ad8745@linux.ibm.com> Date: Fri, 26 Aug 2022 10:42:21 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH, rs6000] Change insn condition from TARGET_64BIT to TARGET_POWERPC64 for VSX scalar extract/insert instructions Content-Language: en-US To: David Edelsohn , "Kewen.Lin" Cc: gcc-patches , Peter Bergner , Segher Boessenkool References: <2ffb2ff4-540d-3bcf-4e4e-478acbdd910d@linux.ibm.com> <20220823142620.GU25951@gate.crashing.org> <55bbac6d-7595-df10-0a2b-e09ca25f90f5@linux.ibm.com> <8177d3a3-ec97-c15e-dddd-ec88930757dd@linux.ibm.com> From: HAO CHEN GUI In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: _Sog7khLbhGjhONRGXPI3bSqPKtfJw-d X-Proofpoint-GUID: oQyL7ZW8i0lAWpGh1vpR6zTcoU9PaFyt X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-25_11,2022-08-25_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 spamscore=0 impostorscore=0 malwarescore=0 mlxlogscore=999 clxscore=1015 mlxscore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208260008 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,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: Hi David, On 25/8/2022 下午 10:01, David Edelsohn wrote: > On Thu, Aug 25, 2022 at 1:22 AM Kewen.Lin wrote: >> >> on 2022/8/25 11:37, HAO CHEN GUI wrote: >>> Hi, >>> >>> On 24/8/2022 下午 1:24, Kewen.Lin wrote: >>>> Could you try to test with dg-options "-mdejagnu-cpu=power9 -mpowerpc64" all the time, but still >>>> having that has_arch_ppc64 effective target on aix? >>>> >>>> I'd expect has_arch_ppc64 check to fail on aix 32bit, the error will not be a problem (turning >>>> into an UNSUPPORTED then)? >>> >>> I tested it on AIX. "has_arch_ppc64" fails with dg-options "-mdejagnu-cpu=power9 -mpowerpc64" on >>> 32-bit AIX environment. It works as we expected. >> >> Nice, thanks for your time on testing. >> >>> >>> Also I found that AIX and Darwin are skipped for bfp test. So in testcase, it's no need to care >>> about them. Not sure if it's intention. >>> >>> In bfp.exp >>> >>> # Exit immediately if this isn't a PowerPC target or if the target is >>> # aix or Darwin. >>> if { (![istarget powerpc*-*-*] && ![istarget rs6000-*-*]) >>> || [istarget "powerpc*-*-aix*"] >>> || [istarget "powerpc*-*-darwin*"] } then { >>> return >>> } >> >> I can't find a hint about why we wanted to disable bfp testing on aix, it looks like a overkill to me. >> >> Could you help to further test if all test cases in this small bucket available on aix? >> >> Maybe it can give us some evidences on why it's intentional or not. >> >> Hi David & Segher, >> >> Do you have some insights on this? > > AIX (and Darwin) are not Linux and not ELF. There is no support for > BPF. All of the tests fail, so they are skipped. Thanks so much for your info. Here are test results on P7 AIX7.1. I tested all scalar-extract-sig-* and scalar-insert-exp-* cases in "testsuite/powerpc/bfp" fold. All compiling cases pass except those use __ieee128. The runnable cases fail as expected. p9vector is not supported on P7 servers. So the __ieee128 blocks Binary floating-point on AIX? Thanks Gui Haochen > > Thanks, David