- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Will AVX support be automatic in the Intel C and Fortran compilers? That is, if you set the correct command line options in the compile command, will the Intel compilers automatically AVXify the executable, the way that they currently do automatic SSE* vectorization?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, there are -QxAVX options in Intel compilers beginning with current 11.1. Both scalar and parallel AVX instructions are used, and there are a few cases which become auto-vectorizable for the first time. More about this subject has appeared in the past on the AVX forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In fact, even if you have SSE intrinsics in your code, if you use the -xavx switch it will produce avx-128 instructions instead of sse instructions.
Dale

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