Clang and GCC support use -msse2avx to convert legacy SSE instructions into VEX-prefixed, which avoids AVX-SSE transition penalties and allows unnecessary vzeroupper to be omitted. For projects that use x86inc.asm, -DFORCE_VEX_ENCODING=1 can be used, but native option support in NASM would be preferable.