mirror of
https://github.com/libretro/RetroArch
synced 2025-03-10 07:14:13 +00:00
Add SSE/SSE2 enable options.
Add --enable-sse, similar to --enable-neon. Only really useful for x86 as x86_64 always has SSE2.
This commit is contained in:
parent
946a2a2fc1
commit
b2e8efef9f
@ -39,6 +39,11 @@ if [ "$HAVE_NEON" = "yes" ]; then
|
|||||||
ASFLAGS="$ASFLAGS -mfpu=neon -mfloat-abi=hard"
|
ASFLAGS="$ASFLAGS -mfpu=neon -mfloat-abi=hard"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$HAVE_SSE" = "yes" ]; then
|
||||||
|
CFLAGS="$CFLAGS -msse -msse2"
|
||||||
|
CXXFLAGS="$CXXFLAGS -msse -msse2"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$HAVE_EGL" != "no" ]; then
|
if [ "$HAVE_EGL" != "no" ]; then
|
||||||
check_pkgconf EGL egl
|
check_pkgconf EGL egl
|
||||||
# some systems have EGL libs, but no pkgconfig
|
# some systems have EGL libs, but no pkgconfig
|
||||||
|
@ -31,4 +31,5 @@ HAVE_XVIDEO=auto # Enable XVideo support
|
|||||||
HAVE_SDL_IMAGE=auto # Enable SDL_image support
|
HAVE_SDL_IMAGE=auto # Enable SDL_image support
|
||||||
HAVE_PYTHON=auto # Enable Python 3 support for shaders
|
HAVE_PYTHON=auto # Enable Python 3 support for shaders
|
||||||
HAVE_BSV_MOVIE=yes # Disable BSV movie support
|
HAVE_BSV_MOVIE=yes # Disable BSV movie support
|
||||||
HAVE_NEON=no # Enable ARM NEON optimizations (hardfloat)
|
HAVE_NEON=no # Forcefully enable ARM NEON optimizations (hardfloat)
|
||||||
|
HAVE_SSE=no # Forcefully enable x86 SSE optimizations (SSE, SSE2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user