From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 530 invoked by alias); 15 Aug 2008 18:14:40 -0000 Received: (qmail 509 invoked by uid 22791); 15 Aug 2008 18:14:39 -0000 X-Spam-Check-By: sourceware.org Received: from igw2.br.ibm.com (HELO igw2.br.ibm.com) (32.104.18.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 15 Aug 2008 18:13:56 +0000 Received: from mailhub3.br.ibm.com (mailhub3 [9.18.232.110]) by igw2.br.ibm.com (Postfix) with ESMTP id E969817F4C8 for ; Fri, 15 Aug 2008 14:59:45 -0300 (BRT) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m7FIDR2v2785496 for ; Fri, 15 Aug 2008 15:13:27 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m7FIDK3D012540 for ; Fri, 15 Aug 2008 15:13:21 -0300 Received: from [9.8.8.85] ([9.8.8.85]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m7FIDJ7w011642 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Aug 2008 15:13:20 -0300 Subject: Re: [PATCH-ppc 5/5] Add VSX doc bits From: Luis Machado Reply-To: luisgpm@linux.vnet.ibm.com To: Eli Zaretskii Cc: gdb-patches@sourceware.org In-Reply-To: References: <1217016956.29012.79.camel@gargoyle> <1218814096.8946.39.camel@gargoyle> Content-Type: text/plain Date: Fri, 15 Aug 2008 18:14:00 -0000 Message-Id: <1218823977.8946.49.camel@gargoyle> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2008-08/txt/msg00432.txt.bz2 On Fri, 2008-08-15 at 20:06 +0300, Eli Zaretskii wrote: > This needs to state the node name where the changes are made. > This is OK, modulo Stan's comments on using "new". Both should be addressed in the patch below. Thanks, Luis --- 2008-08-15 Luis Machado * doc/gdb.texinfo (PowerPC): Mention Extended FPR's for POWER7. (PowerPC features): Mention feature set for VSX registers. Index: gdb/doc/gdb.texinfo =================================================================== --- gdb.orig/doc/gdb.texinfo 2008-08-15 07:02:10.000000000 -0700 +++ gdb/doc/gdb.texinfo 2008-08-15 08:50:00.000000000 -0700 @@ -16427,6 +16427,9 @@ by joining the even/odd register pairs @code{f0} and @code{f1} for @code{$dl0}, @code{f2} and @code{f3} for @code{$dl1} and so on. +For POWER7 processors, GDB provides a set of pseudo-registers, the 64-bit +wide Extended Floating Point Registers (@samp{f32} through @samp{f63}). + @node Controlling GDB @chapter Controlling @value{GDBN} @@ -27865,6 +27868,13 @@ contain registers @samp{vr0} through @samp{vr31}, @samp{vscr}, and @samp{vrsave}. +The @samp{org.gnu.gdb.power.vsx} feature is optional. It should +contain registers @samp{vs0h} through @samp{vs31h}. @value{GDBN} +will combine these registers with the floating point registers +(@samp{f0} through @samp{f31}) and the altivec registers (@samp{vr0} +through @samp{vr31}} to present the 128-bit wide registers @samp{vs0} +through @samp{vs63}, the set of vector registers for POWER7. + The @samp{org.gnu.gdb.power.spe} feature is optional. It should contain registers @samp{ev0h} through @samp{ev31h}, @samp{acc}, and @samp{spefscr}. SPE targets should provide 32-bit registers in