> Yes, I changed that in the last patch, though I consider it momentarily
> problematic because you do not yet enable AVX with march=btver2 (AVX versions
> would currently be better than btver2 versions for a btver2 arch), but expect
march=btver2 will be fixed soon.
The " processor_alias_table" entry for "btver2" in i386.c enables AVX.
<snip>
{"btver2", PROCESSOR_BTVER2, CPU_BTVER2,
PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3
| PTA_SSSE3 | PTA_SSE4A |PTA_ABM | PTA_CX16 | PTA_SSE4_1
| PTA_SSE4_2 | PTA_AES | PTA_PCLMUL | PTA_AVX
| PTA_BMI | PTA_F16C | PTA_MOVBE | PTA_PRFCHW
| PTA_FXSR | PTA_XSAVE | PTA_XSAVEOPT},
</snip>
The assembly listing for a simple test (compiled with -march=btver2) also has
-mavx enabled. So, can you please enable AVX for btver2?
Regards
Ganesh