-mno-fancy-math-387 doesn't work with -mpentium3 in gcc 3.1

H. J. Lu hjl@lucon.org
Mon Jul 22 13:21:00 GMT 2002


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.



More information about the Gcc mailing list