From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19363 invoked by alias); 22 Aug 2005 21:42:32 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 19327 invoked by uid 22791); 22 Aug 2005 21:42:25 -0000 Received: from smtp04.mrf.mail.rcn.net (HELO smtp04.mrf.mail.rcn.net) (207.172.4.63) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 22 Aug 2005 21:42:25 +0000 Received: from 65-78-24-4.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO raeburn.org) ([65.78.24.4]) by smtp04.mrf.mail.rcn.net with ESMTP; 22 Aug 2005 17:42:24 -0400 X-IronPort-AV: i="3.96,131,1122868800"; d="scan'208"; a="73101874:sNHT23495390" Received: from [18.101.0.226] (laptop.raeburn.org [18.101.0.226]) by raeburn.org (8.12.11/8.12.11) with ESMTP id j7MLgM39028193; Mon, 22 Aug 2005 17:42:22 -0400 (EDT) In-Reply-To: <200508212153.j7LLrJXJ006901@elgar.sibelius.xs4all.nl> References: <200508212153.j7LLrJXJ006901@elgar.sibelius.xs4all.nl> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <348FDCE8-5D87-4C13-AB77-B4BD4E47F9C5@raeburn.org> Cc: gdb-patches@sourceware.org, binutils@sourceware.org, gcc-patches@gcc.org Content-Transfer-Encoding: 7bit From: Ken Raeburn Subject: Re: [RFA] Add some VAX floating point formats to floatformat.[ch] Date: Tue, 23 Aug 2005 21:58:00 -0000 To: Mark Kettenis X-SW-Source: 2005-08/txt/msg00236.txt.bz2 On Aug 21, 2005, at 17:53, Mark Kettenis wrote: > This patch adds support for the two VAX floating-point formats used by > GCC for 'float' and 'double'. The real guts are in gdb/doublest.c > (which I wil post later to the gdb list); this only adds the > description. It's been a long time since I checked, but doesn't gcc support both of the "double"-size FP formats the VAX architecture has, in addition to the "float" format? +const struct floatformat floatformat_vax_single = +{ + floatformat_vax, 32, 0, 1, 8, 129, 0, 9, 23, + floatformat_intbit_no, + "floatformat_vax_single", + floatformat_always_valid +}; +const struct floatformat floatformat_vax_double = +{ + floatformat_vax, 64, 0, 1, 8, 129, 0, 9, 55, + floatformat_intbit_no, + "floatformat_vax_single", + floatformat_always_valid +}; Shouldn't this one be labelled "floatformat_vax_double"? (And maybe "_d" or "_g"?)