Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2002 05:36:38 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        obrien@freebsd.org, <alpha@freebsd.org>, <bde@freebsd.org>
Subject:   Re: -ffast-math broken
Message-ID:  <20020527053259.W13129-100000@gamplex.bde.org>
In-Reply-To: <xzp4rgu94jo.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26 May 2002, Dag-Erling Smorgrav wrote:

> "David O'Brien" <obrien@freebsd.org> writes:
> > On Thu, May 23, 2002 at 12:03:46AM +0200, Dag-Erling Smorgrav wrote:
> > > The -ffast-math gcc option is broken on Alpha because we don't build
> > > or install crtfastmath.o as part of csu.  Building & installing it
> > > works,
> >
> > I've committed this part.
> >
> > > but doesn't help because it references __ieee_set_fp_control
> > > which doesn't exist.  This breaks (at least) the audio/mpg123 port,
> > > though I must admit I don't know if it ever worked.
> >
> > http://www.humboldt.edu/cgi-bin/man2html?ieee
> > explains the ieee_set_fp_control() routine we need to supply.
>
> Sounds like a job for Bruce, don't you think?

Not for the alpha part.  But setting the control word should be easy
if you understand the machine.  ieee_*fp* should be named feset*() for
C99, except possibly for defectective parts of C99 (no standard way
to control the trickiest parts of the control word).

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020527053259.W13129-100000>