On Thursday 19 December 2013, Gopalasubramanian, Ganesh wrote:
> > 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?
>
Sorry, I must have been looking at an older version, but as I said I already
did enable it in the latest patch. (see
http://gcc.gnu.org/ml/gcc-patches/2013-12/msg01577.html )
`Allan