Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Levi_Morrison
Beginner
68 Views

Use AVX; fallback to SSE4.2

After searching the documentation, I could not find a way to use AVX instructions if available, if not, use SSE4.2 instructions and if those aren't available don't optimize. Have I simply missed something? I hope this is possible.

0 Kudos
1 Reply
TimP
Black Belt
68 Views

If "do nothing" means abort on account of lack of architecture support, with Intel Windows compilers you might set /QaxAVX /QxSSE4.2
Reply