public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Cross-compiler between machines with different floating pointformat
@ 2000-08-26  6:41 Stephen L Moshier
  2000-08-27 15:11 ` Geoff Keating
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen L Moshier @ 2000-08-26  6:41 UTC (permalink / raw)
  To: Geoff Keating; +Cc: gcc

> Desmond Cheung <dycheung@cs.sfu.ca> writes:
>
>> Hi,
>> 
>> I have a very important question. The porting guide says
>> "Cross-compilers between machines wieh different floating point
>>  formats have not all be made to work.
>
>At present, this only applies when the target machine is running VMS.

Has there be a bug report about this?
What is the problem with VMS?  Which backend has the problem?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cross-compiler between machines with different floating pointformat
  2000-08-26  6:41 Cross-compiler between machines with different floating pointformat Stephen L Moshier
@ 2000-08-27 15:11 ` Geoff Keating
  2000-08-27 20:53   ` Stephen L Moshier
  0 siblings, 1 reply; 3+ messages in thread
From: Geoff Keating @ 2000-08-27 15:11 UTC (permalink / raw)
  To: moshier; +Cc: gcc

> Date: Sat, 26 Aug 2000 09:41:10 -0400 (EDT)
> From: Stephen L Moshier <moshier@mediaone.net>

> Has there be a bug report about this?

It's not a bug, it's a missing feature.

> What is the problem with VMS?  Which backend has the problem?

We don't have an emulator for the VMS floating-point format, so the
compiler can't do any arithmetic at compile time on such values.  All
VMS ports (which is I believe only VAX and Alpha at this point) are
affected.
-- 
- Geoffrey Keating <geoffk@cygnus.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cross-compiler between machines with different floating pointformat
  2000-08-27 15:11 ` Geoff Keating
@ 2000-08-27 20:53   ` Stephen L Moshier
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen L Moshier @ 2000-08-27 20:53 UTC (permalink / raw)
  To: Geoff Keating; +Cc: gcc

On Sun, 27 Aug 2000, Geoff Keating wrote:
> We don't have an emulator for the VMS floating-point format, so the
> compiler can't do any arithmetic at compile time on such values.  All
> VMS ports (which is I believe only VAX and Alpha at this point) are
> affected.

Er, the DEC VAX format emulation has been available for years and it
works fine.

I think what you are seeing is the result of a desire to choose
between VAX and IEEE numbers by a run-time compiler switch.  Because
of the way some of the preprocesor macros are defined, it would not be
possible to switch the emulator format at run time without
considerable work.  You can easily build a compiler targeting VAX
format or a different one targeting IEEE format, but not one that does
both at the same time.  This first came up in connection with the
Convex port, which has a switch to choose between the two formats, as
does alpha-vms.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-08-27 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-26  6:41 Cross-compiler between machines with different floating pointformat Stephen L Moshier
2000-08-27 15:11 ` Geoff Keating
2000-08-27 20:53   ` Stephen L Moshier

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).