You are not logged in.

Read the FAQ and Knowledge Base before posting.
WiFi not emulated and not supported!!
We won't make a 3DS/2DS emulator.

#1 2010-04-26 07:00:09

Registered: 2010-04-24
Posts: 20

Linux SS2 build

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 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.


#2 2010-04-26 07:08:33

Radical Ninja
Registered: 2009-01-05
Posts: 4,944

Re: Linux SS2 build

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.


#3 2010-04-26 07:37:39

Registered: 2010-04-24
Posts: 20

Re: Linux SS2 build

Ok so really all you have to do is add this code to

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:
./configure --enable-sse
sudo make install

to make an sse linux build.


Board footer

Powered by FluxBB