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

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

rase
New Contributor I
556 Views
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 Kudos
2 Replies
Steven_L_Intel1
Employee
556 Views
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 Kudos
rase
New Contributor I
556 Views
Timothy: thanks for the explanation. I see now clearer what's happening.
Steve: thanks, I will follow your advice.
0 Kudos
Reply