From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id 610023858427 for ; Fri, 26 Aug 2022 13:34:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 610023858427 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x52d.google.com with SMTP id w20so2114349edd.10 for ; Fri, 26 Aug 2022 06:34:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc; bh=n4gzCmhZMRuwEYU1huwTXK/jqOuPtRl9MuG1D7hPp8s=; b=F55gtt4zzFJ2jEIyAFNAUjgvTtqlIRDADD4X05H5EP+JmvWJnRO/kJz7qePmFgkUqr ox7kerKeH/sqXxTtHY3XJqQ1iD2lda7ww2oR5i2wS173dJ9oDJ9amHtwgmVOeu5QZYJ7 A+dAq4hBMHIjVIE+6R/3TnlbU5Rue0CoHB4xnTTjlZyS/PuawSCWTUEmDy87mmdovTNr a4JXtJDYOaigBdhatZqiubLDFVhEyBGI+C4WaRJNeuDxWksN2rTrtlLW+XKy+6CXbO30 5G1+6DySs4obwwibsyXIW738thWhi/DYGFqiVu0AtNlukSISJfOl7glbZ0Qil/1zMKFW N7Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc; bh=n4gzCmhZMRuwEYU1huwTXK/jqOuPtRl9MuG1D7hPp8s=; b=Tz7O9e737HXX6Ze/b/Pmv77xgBUpXyHxA1nvAelLIFXxwf94VJbAqmefTS/7MR2PTc SF5NPtlVcWeiNJpeisR/dJWa6I7jyKzvS3naSz7CScFv4BF7I2V6gdnbc9lK9Kji152W K9upK6l0dRhYGhlJPmWVDoq/Db0LhaGVUm1NVQ3Je1q+4slsO3PuncRAQ+pct/Y/WboA iVwrCc4Tia+yGiQhlQx8YPpYeDdAsHrcDtxGtyO2QDwDKWFDKGvgPwix4IvodoEu738G iXOvq3x0d0Vhb/PqtMikmfDTW57/Hpqtkw5FQD/vGc2THpRJr+WgLrDntTQmyl5wc4Dw Txpw== X-Gm-Message-State: ACgBeo3pWa5IB9bJtzmcDzbBdeVbL+WhFeQ4sQySOIwaB3P2AOBQ1Jzx 7vgauQlQp7aO6NPY7m6/DHU0FUYaPy+8UrV+KNo= X-Google-Smtp-Source: AA6agR7N8GFBdvYwAxOEdSxVTMfCec3Z+jymB3I8h1HpyqCc1WCUKBRpUV9ZVMBOkrRoecy8COqNCS1894utKJhJDG8= X-Received: by 2002:a05:6402:2499:b0:440:942a:40c2 with SMTP id q25-20020a056402249900b00440942a40c2mr7048703eda.37.1661520850069; Fri, 26 Aug 2022 06:34:10 -0700 (PDT) MIME-Version: 1.0 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> <4edae9bd-4a0e-449e-08ed-6029f4ad8745@linux.ibm.com> In-Reply-To: <4edae9bd-4a0e-449e-08ed-6029f4ad8745@linux.ibm.com> From: David Edelsohn Date: Fri, 26 Aug 2022 09:32:39 -0400 Message-ID: Subject: Re: [PATCH, rs6000] Change insn condition from TARGET_64BIT to TARGET_POWERPC64 for VSX scalar extract/insert instructions To: HAO CHEN GUI Cc: "Kewen.Lin" , gcc-patches , Peter Bergner , Segher Boessenkool Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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: On Thu, Aug 25, 2022 at 10:42 PM HAO CHEN GUI wrote= : > > Hi David, > > On 25/8/2022 =E4=B8=8B=E5=8D=88 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 =E4=B8=8B=E5=8D=88 1:24, Kewen.Lin wrote: > >>>> Could you try to test with dg-options "-mdejagnu-cpu=3Dpower9 -mpowe= rpc64" 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=3Dpower9 -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 test= case, 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? AIX does not support IEEE 128 bit floating point, only the IBM double-double format. Also GCC for AIX does not recognize the attributes and options for other formats, although there are some patches from Mike to address that. Thanks, David