why cant they just do,
If (AVX_extension_detected) {
optimize; }

i thought thats whats required now