This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -mno-fancy-math-387 doesn't work with -mpentium3 in gcc 3.1
On Mon, Jul 22, 2002 at 12:17:42PM +0200, Jan Hubicka wrote:
> > # ../xgcc -B../ ~/work/gnu/import/gcc-3.1/gcc/testsuite/gcc.dg/i386-387-1.c -ffast-math -mfpmath=387 -mno-fancy-math-387 -S -O -mcpu=i386 -march=pentium3
> > # cat i386-387-1.s
>
> You need -ffast-math in addition to fancy math as fsin is not 100%
> compatible with C standard notion of sin (it does not work for out of
> range values)
>
I don't understand what you were saying. Please take a look at my
command line. -march=pentium3 generates fsin instead of a functin
call.
H.J.