From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77888 invoked by alias); 26 Jul 2017 20:53:35 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 77310 invoked by uid 89); 26 Jul 2017 20:53:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,TVD_SUBJ_WIPE_DEBT autolearn=no version=3.3.2 spammy= X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 26 Jul 2017 20:53:33 +0000 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v6QKnGFS031479 for ; Wed, 26 Jul 2017 16:53:31 -0400 Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151]) by mx0a-001b2d01.pphosted.com with ESMTP id 2by0pa55uv-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 26 Jul 2017 16:53:31 -0400 Received: from localhost by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 26 Jul 2017 14:53:31 -0600 Received: from b03cxnp07028.gho.boulder.ibm.com (9.17.130.15) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 26 Jul 2017 14:53:29 -0600 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v6QKrSNT5570968; Wed, 26 Jul 2017 13:53:28 -0700 Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9A0B87803F; Wed, 26 Jul 2017 14:53:28 -0600 (MDT) Received: from ibm-tiger.the-meissners.org (unknown [9.32.77.111]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP id 741D378038; Wed, 26 Jul 2017 14:53:28 -0600 (MDT) Received: by ibm-tiger.the-meissners.org (Postfix, from userid 500) id CDA59476D6; Wed, 26 Jul 2017 16:53:27 -0400 (EDT) Date: Wed, 26 Jul 2017 20:53:00 -0000 From: Michael Meissner To: Segher Boessenkool Cc: Michael Meissner , GCC Patches , David Edelsohn , Bill Schmidt Subject: Re: [PATCH #4, cleanup] Remove PowerPC -mvsx-small-integer Mail-Followup-To: Michael Meissner , Segher Boessenkool , GCC Patches , David Edelsohn , Bill Schmidt References: <20170724102115.GW13471@gate.crashing.org> <20170724200645.GA7617@ibm-tiger.the-meissners.org> <20170724205112.GC13471@gate.crashing.org> <20170724234025.GA9424@ibm-tiger.the-meissners.org> <20170725123446.GF13471@gate.crashing.org> <20170725131725.GA15369@ibm-tiger.the-meissners.org> <20170725223911.GL13471@gate.crashing.org> <20170726042318.GA18770@ibm-tiger.the-meissners.org> <20170726042417.GB18770@ibm-tiger.the-meissners.org> <20170726200215.GR13471@gate.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170726200215.GR13471@gate.crashing.org> User-Agent: Mutt/1.5.20 (2009-12-10) X-TM-AS-GCONF: 00 x-cbid: 17072620-0008-0000-0000-0000084E2DFF X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007431; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000214; SDB=6.00893315; UDB=6.00446587; IPR=6.00673479; BA=6.00005492; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00016394; XFM=3.00000015; UTC=2017-07-26 20:53:30 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17072620-0009-0000-0000-000043458C7C Message-Id: <20170726205327.GA28127@ibm-tiger.the-meissners.org> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-07-26_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1706020000 definitions=main-1707260304 X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg01732.txt.bz2 On Wed, Jul 26, 2017 at 03:02:15PM -0500, Segher Boessenkool wrote: > Hi Mike, > > On Wed, Jul 26, 2017 at 12:24:17AM -0400, Michael Meissner wrote: > > * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Delete > > -mvsx-small-integer option. > > (ISA_3_0_MASKS_IEEE): Likewise. > > (POWERPC_MASKS): Likewise. > > (OTHER_VSX_VECTOR_MASKS): Likewise. Thanks. > > @@ -2099,20 +2099,8 @@ rs6000_hard_regno_mode_ok (int regno, ma > > > - if (TARGET_VSX_SMALL_INTEGER) > > - { > > - if (mode == SImode) > > - return 1; > > I don't see why deleting this is correct? > > > - if (TARGET_P9_VECTOR && (mode == HImode || mode == QImode)) > > - return 1; > > And this. Hmmm, I was assuming that the previous test for TARGET_VSX would catch all of the cases, but for power7, SFmode does not allow scalars in Altivec registers, so it will fall through. Let me change it back, and add a TARGET_P8_VECTOR test. Thanks for catching this. I did start a non-boostrap build on p9 to make sure everything is ok. > The rest looks fine I think. > > > Segher > -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meissner@linux.vnet.ibm.com, phone: +1 (978) 899-4797