On Monday 28 April 2008, Christian Koch wrote: > you're right. The manpage of gcc says for mtune: > > While picking a specific cpu-type will schedule things appropriately > for that particular chip, the compiler will not generate any code > that does not run on the i386 without the -march=cpu-type option > being used. > > But as I have a Pentium III, I wouldn't benefit of "mtune=prescott", > although the compiled code will run on my machine, of course. I think > the correct way would be to have a configure script determining the CPU > type and using that type for mtune (I know, that would be a lot of > work....). > When you fixed the Makefile in SVN, just tell me, so I can test it.
Hi Christian, sure, this would be the best way. But as both gcc 3.X and pentium3 are not that much in use anymore, i think that 'pentium4' as optimization works for the most people at the moment. I just commited the fix for the trunk and 1.3 branch. Henning _______________________________________________ Users mailing list [email protected] http://lists.openser.org/cgi-bin/mailman/listinfo/users
