Next: , Previous: ax_expand_prefix, Up: The Macros


ax_ext

Synopsis

     AX_EXT

Description

Find supported SIMD extensions by requesting cpuid. When an SIMD extension is found, the -m"simdextensionname" is added to SIMD_FLAGS (only if compilator support it) (ie : if "sse2" is available "-msse2" is added to SIMD_FLAGS)

This macro calls:

       AC_SUBST(SIMD_FLAGS)

And defines:

       HAVE_MMX / HAVE_SSE / HAVE_SSE2 / HAVE_SSE3 / HAVE_SSSE3

Source Code

Download the latest version of ax_ext.m4 or browse the macro's revision history.

License

Copyright © 2008 Christophe Tournayre turn3r@users.sourceforge.net

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.