Use AVX; fallback to SSE4.2

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.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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

Leave a Comment

Please sign in to add a comment. Not a member? Join today