From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11876 invoked by alias); 22 Jul 2004 01:19:57 -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 11485 invoked from network); 22 Jul 2004 01:19:55 -0000 Received: from unknown (HELO mms1.broadcom.com) (63.70.210.58) by sourceware.org with SMTP; 22 Jul 2004 01:19:55 -0000 Received: from 63.70.210.1 by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (MMS v5.6.0)); Wed, 21 Jul 2004 18:19:35 -0700 X-Server-Uuid: 97B92932-364A-4474-92D6-5CFE9C59AD14 Received: from mail-sj1-5.sj.broadcom.com (mail-sj1-5.sj.broadcom.com [10.16.128.236]) by mon-irva-11.broadcom.com (8.9.1/8.9.1) with ESMTP id SAA22744; Wed, 21 Jul 2004 18:18:59 -0700 (PDT) Received: from ldt-sj3-010.sj.broadcom.com (ldt-sj3-010 [10.21.64.10]) by mail-sj1-5.sj.broadcom.com (8.12.9/8.12.9/SSF) with ESMTP id i6M1JYov023096; Wed, 21 Jul 2004 18:19:34 -0700 (PDT) Received: (from cgd@localhost) by ldt-sj3-010.sj.broadcom.com ( 8.11.6/8.9.3) id i6M1JYv10718; Wed, 21 Jul 2004 18:19:34 -0700 X-Authentication-Warning: ldt-sj3-010.sj.broadcom.com: cgd set sender to cgd@broadcom.com using -f To: drow@false.org cc: "Joel Brobecker" , gdb-patches@sources.redhat.com Subject: Re: [RFA] mips-irix SEGV: long doubles are 128 bits long on IRIX References: <20040721212522.GP1278@gnat.com> <20040721212930.GA21706@nevyn.them.org> <20040721233310.GR1278@gnat.com> <20040722003951.GA26928@nevyn.them.org> <20040722004640.GS1278@gnat.com> <20040722004808.GB27215@nevyn.them.org> From: cgd@broadcom.com Date: Thu, 22 Jul 2004 01:19:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 X-WSS-ID: 6CE1C9AD2QW22857296-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-07/txt/msg00298.txt.bz2 At Thu, 22 Jul 2004 00:49:31 +0000 (UTC), "Daniel Jacobowitz" wrote: > I don't think NetBSD even supports mips64. Not in GCC HEAD, at least. NetBSD doesn't support n32 or n64, or have any real support for 'mips64' at all, at this time (AFAIK). > According to GCC long double is 128-bit for all n64 and n32 targets. Note that the actual 'long double' format is *different* between Linux and IRIX, AFAIK. On Linux (w/ glibc), it's 128 bits in the typical IEEE format -- I don't recall what the exact terminology or specification for 128-bit IEEE-style value is, tho. (like normal double, but wider mantissa and wider exponent.) On IRIX, if i recall correctly, 'long double' is implemented as a *pair of doubles*, which allows one to get somewhat-extended precision, but doesn't allow the complete range of 128-bit IEEE-style. (I imagine the benefit is, you can do at least some of the 'long double' ops w/ 'double' FP ops in HW. So, better speed... maybe.) cgd