Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* IEEE traps
@ 1998-08-25  4:00 Andreas Krall
  1998-08-27  4:00 ` Greg Lindahl
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Krall @ 1998-08-25  4:00 UTC (permalink / raw)


I am trying to implement ieee arithmetic in a jit compiler. I generate
floating point instructions with .su suffix and use the generated code
together with a C programm compiled with GCC and option -mieee. This
gives me the correct behaviour under Digital Unix. But under Linux this
combination does a core dump with a Floating exception instead of calling
the software trap handler. Can somebody explain to me how ieee conformant
floating point works under Linux/Alpha?

Andi

-- 
andi@complang.tuwien.ac.at               Andreas Krall
http://www.complang.tuwien.ac.at/andi/   Inst. f. Computersprachen, TU Wien
tel: (+431) 58801/4462                   Argentinierstr. 8/4/1851
fax: (+431) 5057838                      A-1040 Wien     AUSTRIA     EUROPE



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

* Re: IEEE traps
  1998-08-25  4:00 IEEE traps Andreas Krall
@ 1998-08-27  4:00 ` Greg Lindahl
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Lindahl @ 1998-08-27  4:00 UTC (permalink / raw)


andi@complang.tuwien.ac.at (Andreas Krall) writes:

> I am trying to implement ieee arithmetic in a jit compiler. I generate
> floating point instructions with .su suffix and use the generated code
> together with a C programm compiled with GCC and option -mieee. This
> gives me the correct behaviour under Digital Unix. But under Linux this
> combination does a core dump with a Floating exception instead of calling
> the software trap handler. Can somebody explain to me how ieee conformant
> floating point works under Linux/Alpha?

If you join and ask on axp-list@redhat.com, the guy who did the -mieee
flag in gcc reads it. He made a recent posting which you should be
able to find in the web archive at www.redhat.com. Unfortunately this
newsgroup is still not quite as good as the redhat list...

-- g




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

end of thread, other threads:[~1998-08-27  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-25  4:00 IEEE traps Andreas Krall
1998-08-27  4:00 ` Greg Lindahl

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