Re: ax_gcc_archflag - Support for Skylake and newer Intel platforms?

Peter Simons <[email protected]> Fri, 20 Oct 2017 16:30:58 +0200
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Message-ID <[email protected]>
Hi Matthieu,

 > Would it be possible to update the AX_GCC_ARCHFLAG() macro to
 > correctly detect the Intel Skylake, Kaby Lake and Coffee Lake CPUs ?
 > As it stands the macro defaults to '-march=core2', which misses the
 > AVX2, FMA and other extensions.

the macro was submitted and maintained by Steven G. Johnson, whom I have
added to Cc. Maybe he is willing to do the necessary changes?

If in doubt, though, the most reliable way to get certain features added
into a macro is to do it yourself and to submit a patch. :-)

Best regards,
Peter