From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24205 invoked by alias); 18 Jan 2008 19:54:41 -0000 Received: (qmail 24188 invoked by uid 22791); 18 Jan 2008 19:54:41 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 18 Jan 2008 19:54:23 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.1/8.14.0) with ESMTP id m0IJZbbk001156; Fri, 18 Jan 2008 20:35:37 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.1/8.14.1/Submit) id m0IJZbGO012924; Fri, 18 Jan 2008 20:35:37 +0100 (CET) Date: Fri, 18 Jan 2008 19:54:00 -0000 Message-Id: <200801181935.m0IJZbGO012924@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: luisgpm@linux.vnet.ibm.com CC: bauerman@br.ibm.com, gdb-patches@sourceware.org In-reply-to: <1200682292.10815.25.camel@gargoyle> (message from Luis Machado on Fri, 18 Jan 2008 16:51:32 -0200) Subject: Re: Printing decimal128 types out of registers References: <1194460412.6686.34.camel@localhost> <1200596592.27321.20.camel@gargoyle> <1200598580.32125.11.camel@localhost.localdomain> <1200670954.10815.1.camel@gargoyle> <200801181610.m0IGAhmu002305@brahms.sibelius.xs4all.nl> <1200674282.10815.10.camel@gargoyle> <200801181702.m0IH2W0E028191@brahms.sibelius.xs4all.nl> <1200682292.10815.25.camel@gargoyle> 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-01/txt/msg00482.txt.bz2 > From: Luis Machado > Reply-To: luisgpm@linux.vnet.ibm.com > > > But they're pseudo-registers; no target "supports" them because > > they're not real registers. Are you trying to say that some targets > > have hardware support for decimal floating point, and you want to make > > sure that these pseudo registers only show up on targets that have > > such hardware support? If so I'd appreciate it if you could change > > the comments to reflect that. > > The idea is to have a "decimal128" feature meaning that we're supposed > to show these pseudo-registers for ppc32 and ppc64, similar to the way > the EV registers work on the e500, except that we have (in the e500) 32 > of those being real registers and the other 32 being pseudo-registers. > All those 64 registers sum up to create a single set of 32 64-bit > registers (power-spe feature). But that's a real hardware feature. It also controls the pseudo-registers because it doesn't make sense to show those without the real registers. > > There are no software implementations that use the floating-point > > registers in the same way as the hardware implementation does? > > Yes, there is. This would work the same way with software > implementations, that is, we would have the same parameter passing > scheme using pairs of FP registers. In that case, I think you should just add the decimal floating-point pseudo-registers unconditionally.