Find supported SIMD extensions by requesting cpuid. When an SIMD extension is found, the -m"simdextensionname" is added to SIMD_FLAGS if compiler supports it. For example, if "sse2" is available, then "-msse2" is added to SIMD_FLAGS.
This macro calls:
HAVE_MMX / HAVE_SSE / HAVE_SSE2 / HAVE_SSE3 / HAVE_SSSE3 / HAVE_SSE4.1 / HAVE_SSE4.2 / HAVE_AVX
Download the latest version of ax_ext.m4 or browse the macro’s revision history.
Copyright © 2007 Christophe Tournayre email@example.com
Copyright © 2013 Michael Petch firstname.lastname@example.org
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.