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

i7-970

Nick2
New Contributor I
899 Views
I just bought me an early xmas gift :)

Are there any special flags I need to turn on to get the best performance out of the i7-970, or the upcoming Sandy Bridge? If so, what areany dis-advantages to turning on those flags?

Will the special flags cause the code to not work on older CPUs, and will it cause the newer CPUs to get different numerics from the old ones?
0 Kudos
3 Replies
Steven_L_Intel1
Employee
899 Views
See here. If you use the /Qax form of the option the code will run on older processors (SSE2 capable by default). It's always possible that optimizations, especially vectorization, can affect results.
0 Kudos
Nick2
New Contributor I
899 Views
Turned out great! I went with SSE4.2, that's the latest my compiler had. On x86, I got a different set of results vs. without it, butI got digit for digit agreement between the new sets of results on Pentium M vs Core 2 vs i7. On x64, even with the SSE4.2 option, I had digit-for-digit agreement vs. without the option (Core2, i7). And, oh yeah, (new run time)/(old run time) = (about 0.6) doesn't hurt either.

You have my vote to make /Qa(latest your compiler will support) the default!
0 Kudos
Steven_L_Intel1
Employee
899 Views
Glad to hear you got good results. For quite a number of reasons, we aren't going to make auto-CPU-dispatch the default, but it's there if you want it.
0 Kudos
Reply