You are not logged in.
Pages: 1
Is matrix.h the only source code file that had sse instructions? I made a linux sse build by the way. Although I'm positive I did not do it the right way. I just kinda hacked away and then by some dumb luck it actually worked. I edited the configure.ac file to give all the makefiles the -msse and -msse2 arguments in the CXXFLAGS and then I just deleted all the preprocessor #ifdef ENABLE_SSE and #ifdef ENABLE_SSE2 and their corresponding #else statements and #endif's.
Offline
you did it the wrong way. types.h already takes care of all that if you issue -msse
you can see as well as anyone else where sse instructions get used by searching for the macros which enable them.
Offline
Ok so really all you have to do is add this code to configure.ac:
AC_ARG_ENABLE(sse, [ --enable-sse Enable SSE support], [
CFLAGS="$CFLAGS -msse -msse2"
CXXFLAGS="$CXXFLAGS -msse -msse2"
])
And then just you can just run the commands:
autogen.sh
./configure --enable-sse
make
sudo make install
to make an sse linux build.
Offline
Pages: 1