https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #40119|0 |1 is obsolete| | --- Comment #19 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Created attachment 40120 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40120&action=edit Updated patch Well, here's an update also for AVX512F. I can confirm the patch gives the same performance as the AVX version on a machine that supports AVX. Untested on AVX512, because I don't have a machine for that. Adding AVX2 would be fairly trivial. I'm not sure that yanking out the info into the new cpuinfo.h header file is the way to go, but I am not sure of a better way to do it. Other comments?