Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: cagney@gnu.org
Cc: binutils@sources.redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] Add host's floatformat
Date: Sat, 01 May 2004 13:25:00 -0000	[thread overview]
Message-ID: <200405011325.i41DP0i7031346@greed.delorie.com> (raw)
In-Reply-To: <40939DD4.3000706@gnu.org> (message from Andrew Cagney on Sat, 01 May 2004 08:53:40 -0400)


> This patch adds the host's floatformat (when known) to floatformat.[hc]. 

Since we *are* the host, don't we *always* know what the host't float
format is?  I mean, we can just cast to float.  But still, we should
be able to auto-detect which floatformat is used at runtime, rather
than guess in configure (and miss lots of host processors).

We should be able to have a pre-compiled table of float constants and
their hex representations, and just scan the table for bit equality to
see which entries match.

It might be a bit more complex to code the first time around, but it
will be a lot less hackish in the long run (and maintenance-free :)


  reply	other threads:[~2004-05-01 13:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-01 12:53 Andrew Cagney
2004-05-01 13:25 ` DJ Delorie [this message]
2004-05-01 14:28   ` Andrew Cagney
2004-05-01 14:06 ` Andreas Schwab
2004-05-01 14:34 ` Mark Kettenis
2004-05-01 15:00   ` Andrew Cagney
2004-05-01 17:20 ` Andrew Cagney
2004-05-02 10:04   ` Mark Kettenis
2004-05-02 20:49   ` DJ Delorie
2004-05-03 19:11     ` Andrew Cagney
2004-05-03 22:11       ` DJ Delorie
2004-05-03 22:29         ` Zack Weinberg
2004-05-03 22:34           ` DJ Delorie
2004-07-26 21:12             ` Andrew Cagney
2004-05-03 22:37         ` Andrew Cagney
2004-05-03 22:44           ` DJ Delorie
2004-05-03 23:21             ` Andrew Cagney
2004-05-03 23:48               ` DJ Delorie
2004-05-03 23:58                 ` Zack Weinberg
2004-05-04 14:11                   ` Andrew Cagney
2004-05-05 16:32                 ` Andrew Cagney
2004-05-05 17:05                   ` DJ Delorie
2004-05-02 20:49   ` DJ Delorie
2004-07-29 19:35 ` Andrew Cagney
2004-07-30  9:46   ` Andreas Schwab
2004-07-30 13:26     ` Andrew Cagney
2004-11-20 18:17       ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200405011325.i41DP0i7031346@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox