mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-08 10:27:41 +00:00
Configure option for NEON optimizations.
Disabled by default, no auto logic.
This commit is contained in:
parent
b84b0e565b
commit
a01defd01b
@ -33,6 +33,12 @@ if [ "$HAVE_VIDEOCORE" = 'yes' ]; then
|
||||
EXTRA_GL_LIBS="-lGLESv2 -lbcm_host -lvcos -lvchiq_arm"
|
||||
fi
|
||||
|
||||
if [ "$HAVE_NEON" = "yes" ]; then
|
||||
CFLAGS="$CFLAGS -mfpu=neon -mfloat-abi=hard"
|
||||
CXXFLAGS="$CXXFLAGS -mfpu=neon -mfloat-abi=hard"
|
||||
ASFLAGS="$ASFLAGS -mfpu=neon -mfloat-abi=hard"
|
||||
fi
|
||||
|
||||
if [ "$HAVE_EGL" != "no" ]; then
|
||||
check_pkgconf EGL egl
|
||||
# some systems have EGL libs, but no pkgconfig
|
||||
|
@ -31,3 +31,4 @@ HAVE_XVIDEO=auto # Enable XVideo support
|
||||
HAVE_SDL_IMAGE=auto # Enable SDL_image support
|
||||
HAVE_PYTHON=auto # Enable Python 3 support for shaders
|
||||
HAVE_BSV_MOVIE=yes # Disable BSV movie support
|
||||
HAVE_NEON=no # Enable ARM NEON optimizations (hardfloat)
|
||||
|
Loading…
x
Reference in New Issue
Block a user