From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11168 invoked by alias); 3 May 2004 22:29:00 -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 11143 invoked from network); 3 May 2004 22:28:56 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.5) by sources.redhat.com with SMTP; 3 May 2004 22:28:56 -0000 Received: (qmail 6836 invoked from network); 3 May 2004 22:28:55 -0000 Received: from taltos.codesourcery.com (zack@66.92.218.83) by mail.codesourcery.com with DES-CBC3-SHA encrypted SMTP; 3 May 2004 22:28:55 -0000 Received: by taltos.codesourcery.com (sSMTP sendmail emulation); Mon, 3 May 2004 15:28:53 -0700 To: DJ Delorie Cc: cagney@gnu.org, binutils@sources.redhat.com, gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Add host's floatformat References: <40939DD4.3000706@gnu.org> <4093DC36.9040304@gnu.org> <200405020312.i423CSlH008732@greed.delorie.com> <4096996E.9080700@gnu.org> <200405032210.i43MArI1021688@greed.delorie.com> From: Zack Weinberg Date: Mon, 03 May 2004 22:29:00 -0000 In-Reply-To: <200405032210.i43MArI1021688@greed.delorie.com> (DJ Delorie's message of "Mon, 3 May 2004 18:10:53 -0400") Message-ID: <87wu3t9mca.fsf@egil.codesourcery.com> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-05/txt/msg00074.txt.bz2 DJ Delorie writes: >> Like this? I feel ill. > > One problem with your approach is that "1.0" may not be a suitable > pattern to match for every FPU. I left the test constant in the > structure because some FPUs may need more esoteric patterns to > differentiate themselves from other FPUs. Hence the comment about > keeping them in order, too. Really, I don't see why this is better than a hardwired table mapping CPU to floating point format. You gotta have that for the target side anyway. zw