public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* optimization options
@ 2003-12-18  9:29 bhauji bhauji
  0 siblings, 0 replies; only message in thread
From: bhauji bhauji @ 2003-12-18  9:29 UTC (permalink / raw)
  To: gcc-help

hi all.

i was looking at the optimization options that gcc
provides and am confused by a couple (for now!)

-ffast-math
a> -fno-math-errno
tried some programs using sqrt function. should it not
be using the FSQRT instruction in the pentium? it does
not seem to be doing so. so no difference on x86.
should this be a glibc query instead?

b>-funsafe-math-optimizations
turned this option on with some functions like pow but
there was no difference

c>fno-trapping-math
no idea what this does!

anyone here with ideas on how to test this option?

cheerio,
ravi
P.S: also if anyone has info about
-fexpensive-optimizations, do let me know.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-18  9:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-18  9:29 optimization options bhauji bhauji

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).