- Added some note on SSE/SEE2 optimization.

- Supported SSE/SSE2 optimization with GCC.

git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@3 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
This commit is contained in:
naoaki
2008-04-25 06:32:53 +00:00
parent 85c2de4384
commit 8bad5e136a
11 changed files with 590 additions and 46 deletions

View File

@@ -1,4 +1,4 @@
dnl $Id:$
dnl $Id$
dnl
dnl
dnl Exported and configured variables:
@@ -44,7 +44,7 @@ dnl ------------------------------------------------------------------
dnl Checks for header files.
dnl ------------------------------------------------------------------
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h limits.h malloc.h strings.h unistd.h stdint.h)
AC_CHECK_HEADERS(xmmintrin.h emmintrin.h)
dnl ------------------------------------------------------------------
@@ -74,6 +74,19 @@ if test "x$enable_profile" = "xyes"; then
fi
dnl ------------------------------------------------------------------
dnl Checks for SSE build
dnl ------------------------------------------------------------------
AC_ARG_ENABLE(
sse,
[AS_HELP_STRING([--enable-sse],[Enable SSE optimized routines])]
)
if test "x$enable_sse" = "xyes"; then
CFLAGS="-msse2 -DUSE_SSE ${CFLAGS}"
fi
dnl ------------------------------------------------------------------
dnl Checks for library functions.
dnl ------------------------------------------------------------------