Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

Use AVX; fallback to SSE4.2

Levi_Morrison
Beginner
144 Views

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
144 Views
If "do nothing" means abort on account of lack of architecture support, with Intel Windows compilers you might set /QaxAVX /QxSSE4.2
Reply