17.11.2010 12:03, Erich Titl пишет: > Hi Folks > > I am attempting to build openswan for BuC4 and I am worried a bit about > the environment preset in MasteriInclude.mk. > > We define GNU_TUNE as pentiumpro, which according to the gcc doc should > produce code for this kind of architecture, whereas GNU_ARCH is set to > I486 which definitely is not a pentium pro. > No, you're miss about this. Key difference between arch & tune - arch specifies target CPU, for which code is generated (which instruction set will be used in executable), and tune - specifies for which architecture code will be optimized; on other architectures code will work but possible some less effective. If we specified -march=i486 -mtune=pentiumpro for gcc - code will be generated using i486 instruction set (compatible with i486 and above), but optimized for execution on i686 & higher. This makes good performance boost (10-20%) for both geode & powerful modern CPUs, and doesn't hurt compatibility with older hardware.
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel