From: Jeff Sturm <jsturm1@home.com>
Subject: Re: how to compile with "-fsoft-float"
Date: 1999/09/09 [thread overview]
Message-ID: <Pine.LNX.4.10.9909082312200.771-100000@cc42593-a.taylor1.mi.home.com> (raw)
In-Reply-To: Pine.LNX.4.10.9909082315330.13895-100000@emile.evbergen.xs4all.nl
This is incorrect. The -mieee switch is a compiler option; it changes the
code generated by gcc.
The Alpha by itself is not fully IEEE conformant. It will generate a fp
trap on NaN, Inf, underflow, etc. The -mieee flag causes gcc to insert
trap barriers in the code, so the kernel can recover from traps and
emulate the IEEE behavior in software.
It also incurs a performance penalty, so unless you need strict IEEE
behavior you are better off avoiding it.
Jeff
On Wed, 8 Sep 1999, Emile van bergen wrote:
> > Also, why is this flag not documented in the gcc man page? Are there
> > any other flags that might be of relevance to me?
>
> It's not exactly a flag. -mfoo tells the linker to link against libfoo.a
> (statically) / libfoo.so (dynamically).
next prev parent reply other threads:[~1999-09-09 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-01 4:00 how to compile with "-fsoft-float" siemel naran
1999-09-02 4:00 ` Alex Rhomberg
1999-09-02 4:00 ` siemel naran
1999-09-08 4:00 ` Emile van bergen
1999-09-09 4:00 ` Jeff Sturm [this message]
1999-09-02 4:00 ` siemel naran
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox