“-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相同。