public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Marc Lehmann <pcg@goof.com>
To: egcs@cygnus.com
Subject: Re: FLOATING-POINT CONSISTENCY, -FFLOAT-STORE, AND X86
Date: Fri, 18 Dec 1998 18:37:00 -0000	[thread overview]
Message-ID: <19981219001659.L2289@cerebro.laendle> (raw)
In-Reply-To: <rzq4sqtdx7l.fsf@djlvig.dl.ac.uk>

On Fri, Dec 18, 1998 at 08:14:22PM +0000, Dave Love wrote:
> >>>>> "Marc" == Marc Lehmann <pcg@goof.com> writes:
> 
>  Marc> This might break any third-party libraries and/or the system
>  Marc> libm if it uses extended precision to implement
>  Marc> double-precision operations.
> 
> What's the guarantee that crt0 sets up extended precision on whichever
> systems are of interest?

I have no idea. Do _you_ have one?

>  Marc> IAW, this functionality must be off by default, similar to
>  Marc> -malign-double.
> 
> Is it currently consistent across all the x86 platforms we run on?

Definitely not. But does that mean we should break linux-libm (for example)
because solaris behavuour wasn't consistent before(?).

> (modulo f2000 intrinsics) is a trivial piece of runtime so that people
> can say `-lrdble' (or something) and (probably) be done.  Similarly
> for floating point traps/masks.

The question (for me) is wether libm functions will retain
double precision then? Sure, the deviations that could introduce
are pretty minor, but, after all, the deviations caused by using
extended precision are similarly "minor".

> I'd at least like to put the code somewhere people can retrieve it to
> use/extend if they like.  Could I put it in the contrib directory, for
> instance?

How about implementing the __setfpucw functionality as found
on linux? Creating a library (-lrdble) should be trivial then.

--
Happy New Year, I'll be away from 21. Dec to 7. Jan

      -----==-                                              |
      ----==-- _                                            |
      ---==---(_)__  __ ____  __       Marc Lehmann       +--
      --==---/ / _ \/ // /\ \/ /       pcg@goof.com       |e|
      -=====/_/_//_/\_,_/ /_/\_\                          --+
    The choice of a GNU generation                        |
                                                          |

  parent reply	other threads:[~1998-12-18 18:37 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-17  1:43 N8TM
1998-12-17 12:35 ` Marc Lehmann
1998-12-18 12:14   ` Dave Love
1998-12-18 14:25     ` Gerald Pfeifer
1998-12-19 13:50       ` Dave Love
1998-12-18 18:37     ` Marc Lehmann [this message]
1998-12-19 14:03       ` Dave Love
  -- strict thread matches above, loose matches on Subject: below --
1998-12-22 13:30 Toon Moene
1998-12-22 11:07 John Wehle
1998-12-21 23:30 N8TM
1998-12-19 15:17 Geert Bosch
1998-12-20  8:09 ` Toon Moene
1998-12-22  4:17 ` Dave Love
1998-12-19 14:26 N8TM
1998-12-19 14:23 N8TM
1998-12-20 13:51 ` Marc Lehmann
1998-12-20 13:52   ` Marc Lehmann
1998-12-19 13:00 N8TM
1998-12-19  9:05 N8TM
1998-12-19 12:39 ` Toon Moene
1998-12-19 14:42   ` Dave Love
1998-12-18 23:07 N8TM
1998-12-19 13:39 ` Marc Lehmann
1998-12-18 21:58 N8TM
1998-12-18 22:36 ` Richard Henderson
1998-12-19 13:41   ` Marc Lehmann
1998-12-16  6:10 N8TM
1998-12-15  0:05 N8TM
1998-12-15 10:01 ` Joe Buck
1998-12-13  6:19 Stephen L Moshier
1998-12-13 10:49 ` Craig Burley
1998-12-13 15:18   ` Stephen L Moshier
1998-12-14  8:49     ` Craig Burley
1998-12-14  9:25       ` Joe Buck
1998-12-14 14:30         ` Edward Jason Riedy
1998-12-15  0:04         ` Craig Burley
1998-12-03  6:34 N8TM
1998-12-04 15:23 ` Craig Burley

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=19981219001659.L2289@cerebro.laendle \
    --to=pcg@goof.com \
    --cc=egcs@cygnus.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).