Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

overriding '/QxSSE4.2' with '/archSSE3'

rase
새로운 기여자 I
566 조회수
I have set the project options to /arch:SSE3, /QaxSSE4.1 and /QaxSSE4.2 (Intel I7-920 processor for compile and execution). During the compile step I receive the message
ifort: command line warning #10121: overriding '/QxSSE4.2' with '/archSSE3'
Aren't SSE4.1 and SSE4.2 more powerful than SSE3, as the numbers imply? Why are SSE4.1 and 4.2 replaced by SSE3?
0 포인트
2 응답
Steven_L_Intel1
566 조회수
The correct way to specify this on the command line is:

/arch:SSE3 /QaxSSE4.1,SSE4.2

You will probably have to use the Command Line > Additional Options to do this.

However, I agree with Tim's private reply that while this is allowed, it may not have much benefit to have two very similar instruction sets as alternate code paths. Will you be running this program on other CPUs? If not, then just use /QxHost and be done with it,
0 포인트
rase
새로운 기여자 I
566 조회수
Timothy: thanks for the explanation. I see now clearer what's happening.
Steve: thanks, I will follow your advice.
0 포인트
응답