> Then just use:

> +      else if (has_avx2)
> +        processor = PROCESSOR_BDVER4;
>       else if (has_movbe)
>        processor = PROCESSOR_BTVER2;
>-      else if (has_avx2)
>-        processor = PROCESSOR_BDVER4;
>      else if (has_xsaveopt)

In that case, with earlier GCC versions where we don’t have bdver4 added, the 
fall back would be BTVER2, 
whereas a BD variant is more desirable.

Ganesh

Reply via email to