Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 1996 14:00:32 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, kuku@gilberto.physik.rwth-aachen.de
Cc:        freebsd-hackers@FreeBSD.ORG, mrm@MARMOT.Mole.ORG
Subject:   Re: TARGET_NO_FANCY_MATH_387
Message-ID:  <199606220400.OAA16873@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Could you give an example showing that 

>-ffancy-math-386 and -ffast-math

>have an effect? I tried with a small example and I'm always getting
>calls instead of fpu-inline statements. (gcc-2.6.3)

>#include <math.h>
>main()
>{
>    double d=2500.;
>    printf("%lf\n",sqrt(sin(d)));
>}

>gcc  -ffast-math -m486 -mfancy-math-387 -S p.c

This too is an example if you compile with -O.

Bruce



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