- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
You have my vote to make /Qa(latest your compiler will support) the default!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page