From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76995 invoked by alias); 10 Aug 2018 14:44:55 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 76944 invoked by uid 89); 10 Aug 2018 14:44:54 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham 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; Fri, 10 Aug 2018 14:44:50 +0000 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w7AEdhVK067454 for ; Fri, 10 Aug 2018 10:44:49 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0a-001b2d01.pphosted.com with ESMTP id 2ksayjmwfk-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 10 Aug 2018 10:44:49 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 10 Aug 2018 15:44:47 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 10 Aug 2018 15:44:45 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w7AEih7L39190580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 10 Aug 2018 14:44:44 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC437AE053; Fri, 10 Aug 2018 17:44:34 +0100 (BST) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A91D4AE045; Fri, 10 Aug 2018 17:44:34 +0100 (BST) Received: from oc3748833570.ibm.com (unknown [9.145.37.152]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 10 Aug 2018 17:44:34 +0100 (BST) Received: by oc3748833570.ibm.com (Postfix, from userid 1000) id 45156D802AC; Fri, 10 Aug 2018 16:44:43 +0200 (CEST) Subject: Re: [PATCH v2 11/12] [PowerPC] Reject tdescs with VSX and no FPU or Altivec To: pedromfc@linux.ibm.com (Pedro Franco de Carvalho) Date: Fri, 10 Aug 2018 14:44:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, edjunior@gmail.com In-Reply-To: <20180810025210.6942-12-pedromfc@linux.ibm.com> from "Pedro Franco de Carvalho" at Aug 09, 2018 11:52:09 PM MIME-Version: 1.0 x-cbid: 18081014-0016-0000-0000-000001F4EFDC X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18081014-0017-0000-0000-0000324B08B1 Message-Id: <20180810144443.45156D802AC@oc3748833570.ibm.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-SW-Source: 2018-08/txt/msg00280.txt.bz2 Pedro Franco de Carvalho wrote: > Currently rs6000_gdbarch_init will accept a tdesc with the > "org.gnu.gdb.power.vsx" feature but without the > "org.gnu.gdb.power.altivec" or "org.gnu.gdb.power.fpu". > > It isn't clear from the standard features documentation that these are > requirements. However, these tdescs would cause trouble in the VSX > pseudo-register functions, so this patch will cause them to be > rejected. Makes sense to me. > gdb/ChangeLog: > YYYY-MM-DD Pedro Franco de Carvalho > > * rs6000-tdep.c (rs6000_gdbarch_init): Reject tdescs with vsx but > without altivec or fpu. This is OK. Thanks, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com