|
|
一直搞不懂Intel® Pentium® Dual-Core T2390 Cflags中的 -march该如何写,在网上搜索看到很多人都说用 -march=presott,但在我这里加了之后却无法编译了,提示是Gcc无法运行,指定的cpu不支持64位什么的(使用amd64的stage1).
另外,查了CPU的资料:- Supported Features:
- # Dual Core
- # Enhanced Intel Speedstep® Technology
- # Intel® EM64T 1
- # Execute Disable Bit
复制代码
然后在GCC的文档里看到:- prescott
- Improved version of Intel Pentium4 CPU with MMX, SSE, SSE2 and SSE3 instruction set support.
- nocona
- Improved version of Intel Pentium4 CPU with 64-bit extensions, MMX, SSE, SSE2 and SSE3 instruction set support.
复制代码
很多人都说Dual Core的用-march=presott, Core2 Duo的才用-march=nocona
但照上面的看来,prescott与nocona的区别只是支不支持64位而已,这么说Dual-Core T2390不是应该用-march=nocona的吗?因为Dual-Core T2390同样支持MMX, SSE, SSE2 and SSE3,而且也支持Intel® EM64T 1(64位?),我想这就是我编译错误的原因了。
请高手指点一下。 |
|