-march=pentium2 + -mtune=pentium4 faster then -march=pentium4?
Kris Kennaway
kris at obsecurity.org
Mon Mar 27 19:20:48 UTC 2006
On Mon, Mar 27, 2006 at 01:05:13PM -0600, Nikolas Britton wrote:
> Why does GCC produce faster code using "-march=pentium2
> -mtune=pentium4" on a Pentium 4 chip versus plain -march=pentium4?
>
> Try it...
>
> CPUTYPE=pentium2
> CFLAGS+= -mtune=pentium4
> COPTFLAGS+= -mtune=pentium4
Talk to the gcc developers (and provide benchmarks).
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060327/5f15bba8/attachment.pgp
More information about the freebsd-stable
mailing list