Macros by Category Revision History
Search:

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

http://autoconf-archive.cryp.to/ax_ext.m4

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.