Discussion:
ax_gcc_archflag - Support for Skylake and newer Intel platforms?
Matthieu Schaller
2017-10-20 14:24:48 UTC
Permalink
Dear autoconf devs.,

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.

Thanks for your help!

Matthieu
Peter Simons
2017-10-20 14:30:58 UTC
Permalink
Hi Matthieu,
Post by Matthieu Schaller
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

Loading...