https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379

--- Comment #15 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
OMG, the world of processors is more complicated than I thought.
So, these rather modern AMD chips support AVX, but suck at it.

Two questions:

- Can you check if -mfma3 and/or -mfma4 make any difference?

- If you start any program compiled with -g under the debugger, break
  anywhere (for example at the beginning of the main program)
  and do a "p __cpu_model", what do you get?

I am halfway tempted to restrict the AVX* stuff to Intel processors
only.  At least, this way we will not make things worse for AMD
processors.

Reply via email to