Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 1995 05:32:30 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-hackers@freefall.cdrom.com, kuku@gilberto.physik.rwth-aachen.de
Subject:   Re: fp inline code
Message-ID:  <199502121832.FAA25727@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>I want to have gcc produce inline sin, cos, log etc. functions as 
>387 instructions. Is this possible? I always thought -ffast-math
>would do that but it still generates call _sin etc. 

You have to use -ffast-math -mfancy-math-387 under FreeBSD to get
inlined sin, cos and sqrt.  See gcc.info*; this is not documented
in the manpage.  Other 387 functions are not handled by gcc.

Bruce



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