|
发表于 2011-3-8 00:19:21
|
显示全部楼层
Post by adam8157;2129851
As of version 4.3.0, the gcc compiler offers the -march-native switch that enables CPU auto-detection and automatically selects optimizations supported by the local machine at gcc runtime.
不是很熟悉gentoo, 这样直接改cflags, 不动use flag是不是就达到效果了?
我好像有体会。。两台机器都没专门配置"硬件"use 只是用了-march-native
结果amd的机器上面就自动打开3dnow intel就打开sse什么的,就不会打开3dnow了。。 |
|