mirror of
https://github.com/PCSX2/pcsx2-sourceforge.git
synced 2026-02-04 03:11:18 +01:00
added sse3 enable option
This commit is contained in:
1
INSTALL
1
INSTALL
@@ -37,6 +37,7 @@ Special Options (modify PCSX2OPTIONS in build.sh)
|
||||
--enable-devbuild {Build with extra tests}
|
||||
--disable-recbuild {Disables all architecture dependent recompilation code}
|
||||
--enable-sse2 {Enables x86 SSE2 extensions}
|
||||
--enable-sse3 {Force enables x86 SSE3 extensions}
|
||||
|
||||
For plugin authors: Your Makefile should support the 'install' option.
|
||||
|
||||
|
||||
@@ -50,6 +50,15 @@ then
|
||||
fi
|
||||
AC_MSG_RESULT($devbuild)
|
||||
|
||||
AC_MSG_CHECKING(force sse3 instructions)
|
||||
AC_ARG_ENABLE(sse3, AC_HELP_STRING([--enable-sse3], [Forces sse3 detection on CPUs]),
|
||||
sse3=$enableval,sse3=no)
|
||||
if test "x$sse3" == xyes
|
||||
then
|
||||
AC_DEFINE(PCSX2_FORCESSE3,1,[PCSX2_DEVBUILD])
|
||||
fi
|
||||
AC_MSG_RESULT(sse3)
|
||||
|
||||
dnl Check for virtual memory build
|
||||
AC_MSG_CHECKING(for virtual memory build)
|
||||
AC_ARG_ENABLE(vmbuild, AC_HELP_STRING([--enable-vmbuild], [Adds low level virtual memory support to run pcsx2 faster]),
|
||||
@@ -131,5 +140,6 @@ echo " Target system type: $target"
|
||||
echo " x86-64 build? $cpu64"
|
||||
echo " Debug build? $debug"
|
||||
echo " Dev build? $devbuild"
|
||||
echo " Force sse3? $sse3"
|
||||
echo " Recompilers enabled? $recbuild"
|
||||
echo " Virtual memory build? $vmbuild"
|
||||
|
||||
@@ -1294,9 +1294,11 @@ extern "C" void cpudetectSSE3(void* pfnCallSSE3)
|
||||
#endif
|
||||
}
|
||||
#else // linux
|
||||
// exception handling doesn't work, so disable for x86 builds of linux
|
||||
|
||||
#ifndef __x86_64__
|
||||
#ifdef PCSX2_FORCESSE3
|
||||
cpucaps.hasStreamingSIMD3Extensions = 1;
|
||||
#else
|
||||
// exception handling doesn't work, so disable for x86 builds of linux
|
||||
cpucaps.hasStreamingSIMD3Extensions = 0;
|
||||
#endif
|
||||
// try {
|
||||
|
||||
Reference in New Issue
Block a user