Re: Optimization flags
Giuseppe Ghibò <[email protected]> Wed, 30 Mar 2005 21:43:34 +0200
| Newsgroups | gmane.linux.mandrake.cooker.amd64 |
|---|---|
| Message-ID | <[email protected]> |
Jeremy Barnes ha scritto: > > We're better off letting the application writers decide which flags work for > them. Application writers flags are generally replaced by %optflags on compilation. And anyway they tend to use only -O2 (or often -O -g) which is the best safe flag for every platforms. Even the "atlas" math libraries don't tend to use the best possible flags on certain newer platform. I just cited the best optimization flags I experienced on Opterons, as term of comparisons (or gain) with respect to standard one. I don't have said to use them. Anyway, what about adding just -msse -msse2? Are they already implicit to for gcc for X86-64 arch (because of default -mfpmath=sse)? Bye. Giuseppe.