comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: Floating point problem
Date: 1997/04/01
Date: 1997-04-01T00:00:00+00:00	[thread overview]
Message-ID: <1997Apr1.151216.1@eisner> (raw)
In-Reply-To: dewar.859869032@merv


In article <dewar.859869032@merv>, dewar@merv.cs.nyu.edu (Robert Dewar) writes:

> That seems to be getting a little absurd to me. Larry, do you think the
> compiler should be careful to generate code that detects that it is running
> on an 8080 and aborts if so (it is definitely possible to write such
> discriminating code, in fact you can find it in Intel manuals).

If there is an operating system which will start up the program on
the "wrong" chip, yes.

> Larry if you are really interested in running GNAT on an x86 with no
> floating-point and an OS that does not support fpt, why not investigate
> how to fix the problem, I doubt it is that hard. The reason we don't
> spend any effort on this problem is that we don't really have an interest
> in running GNAT on such platforms!

I have no interest in running the output of Ada compilers on such
platforms either.  My interest, again, is sure-fire detection of
such situations.  Ignoring issues of how much time I have to pursue
a solution for a compiler, I fear the same problem would arise with
the difference between SPARC-2 and SPARC-1 (if there is such a thing)
if compiler developers take the attitude that any issue of machine
incompatibility is to be detected solely by humans reading the box
before purchasing the output of the Ada compiler.

It is certainly the case that operating-system level approaches
would solve this for all compilers, but sometimes one wants to
sell software to those with least-common-denominator taste in
operating systems.

I say "compiler developers" since although this has talked about
GNAT I have not noticed any of the other Ada compiler developers
speaking up to say "our compiler handles that" :-)

Larry Kilgallen




  reply	other threads:[~1997-04-01  0:00 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-27  0:00 Floating point problem Kees de Lezenne Coulande
1997-03-28  0:00 ` Robert Dewar
1997-03-28  0:00   ` Larry Kilgallen
1997-03-28  0:00     ` Robert Dewar
1997-03-29  0:00       ` Tom Moran
1997-03-30  0:00         ` Larry Kilgallen
1997-03-31  0:00           ` Robert Dewar
1997-04-01  0:00             ` Larry Kilgallen [this message]
1997-04-01  0:00               ` Tom Moran
1997-04-02  0:00                 ` Larry Kilgallen
1997-04-02  0:00                   ` Robert Dewar
1997-04-03  0:00                     ` Jerry van Dijk
1997-04-03  0:00                       ` Jerry van Dijk
1997-04-03  0:00                         ` Jerry van Dijk
1997-04-02  0:00               ` Robert Dewar
1997-03-31  0:00         ` Robert Dewar
1997-03-31  0:00           ` Tom Moran
1997-03-31  0:00             ` Robert Dewar
1997-03-28  0:00     ` Tom Moran
1997-03-28  0:00 ` J-P. Rosen
1997-03-28  0:00   ` Robert Dewar
  -- strict thread matches above, loose matches on Subject: below --
1997-02-26  0:00 floating " bill
1997-03-02  0:00 ` Corbin Dunn
1997-03-02  0:00   ` tmel
1997-03-02  0:00     ` Robert Dewar
1997-03-03  0:00 ` Kenneth W. Sodemann
1997-03-04  0:00   ` Robert Dewar
1997-03-05  0:00     ` Larry Kilgallen
1997-03-05  0:00       ` Robert Dewar
1997-03-06  0:00         ` Larry Kilgallen
1997-03-09  0:00           ` Robert Dewar
1997-03-10  0:00             ` Fergus Henderson
1997-03-10  0:00               ` Robert Dewar
1997-03-10  0:00                 ` Larry Kilgallen
1997-03-12  0:00                   ` Robert Dewar
1997-03-12  0:00                     ` Larry Kilgallen
1997-03-13  0:00                       ` Robert Dewar
1997-03-14  0:00                         ` Larry Kilgallen
1997-03-15  0:00                           ` Robert Dewar
1997-03-12  0:00                     ` Joel VanLaven
1997-03-12  0:00                       ` Robert Dewar
1997-03-13  0:00                     ` Kenneth W. Sodemann
1997-03-15  0:00                       ` Robert Dewar
1997-03-16  0:00                         ` Larry Kilgallen
1997-03-06  0:00     ` Geert Bosch
1997-03-06  0:00       ` Fergus Henderson
1997-03-06  0:00         ` Scott Ingram
1997-03-06  0:00       ` Robert Dewar
1997-03-17  0:00   ` Tom Moran
1997-03-17  0:00   ` Robert I. Eachus
1997-03-17  0:00     ` Robert Dewar
1997-03-18  0:00   ` Robert I. Eachus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox