「-xW」標誌的作用是什麼? 我看到這有時提供給gcc/icc在鏈接階段。鐺打破了這一點,他說:「gcc -xW」是做什麼的?
clang: error: language not recognized: 'W'
用法示例:http://www.spec.org/cpu2000/results/res2004q1/cpu2000-20040208-02830.cfg
「-xW」標誌的作用是什麼? 我看到這有時提供給gcc/icc在鏈接階段。鐺打破了這一點,他說:「gcc -xW」是做什麼的?
clang: error: language not recognized: 'W'
用法示例:http://www.spec.org/cpu2000/results/res2004q1/cpu2000-20040208-02830.cfg
這僅僅是一個ICC選項:
-xW -- Can generate SSE2 and SSE instructions, and it can
optimize for Intel(R) Pentium(R) 4 processors and Intel(R)
Xeon(R) processors with SSE2. This is the default on Linux
systems using Intel(R) 64 architecture. This option is the
same as specifying -march=pentium4.
這對英特爾的C編譯器的選項,而不是GCC - 見在這裏:
http://www.rcac.purdue.edu/userinfo/resources/common/compile/compilers/intel/man/icc.txt
-xW - 可以生成SSE2和SSE指令,並且可以針對帶有SSE2的英特爾(R)奔騰(R)4處理器和英特爾(R)至強(R)處理器 優化 。這是使用英特爾(R)64 體系結構的Linux系統上的默認設置。該選項與指定-march = pentium4相同。