Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Use AVX; fallback to SSE4.2

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