AC_HELP_STRING([--without-simd],[Omit accelerated SIMD routines.]))
if test "x${with_simd}" != "xno"; then
# Check if we're on a supported CPU
- AC_MSG_CHECKING([if host cpu type is i386 or compatible])
+ AC_MSG_CHECKING([if we have SIMD optimisations for cpu type])
case "$host_cpu" in
x86_64)
- AC_MSG_RESULT(yes)
+ AC_MSG_RESULT([yes (x86_64)])
AC_PROG_NASM
AC_DEFINE([WITH_SIMD], [1], [Use accelerated SIMD routines.])
AC_DEFINE([WITH_SIMD64], [1], [Use x86-64 accelerated SIMD routines.])
;;
i*86 | x86 | ia32)
- AC_MSG_RESULT(yes)
+ AC_MSG_RESULT([yes (i386)])
AC_PROG_NASM
AC_DEFINE([WITH_SIMD], [1], [Use accelerated SIMD routines.])
SIMDDIR=simd