mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 19:38:14 +00:00
build system: disable 3dNow! support by default
Closes: https://github.com/libsdl-org/SDL/issues/11472.
(cherry picked from commit 51570d9257
)
This commit is contained in:
@@ -409,7 +409,7 @@ dep_option(SDL_SSE "Use SSE assembly routines" ON "SDL_ASSEMBLY;
|
|||||||
dep_option(SDL_SSE2 "Use SSE2 assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
|
dep_option(SDL_SSE2 "Use SSE2 assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
|
||||||
dep_option(SDL_SSE3 "Use SSE3 assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
|
dep_option(SDL_SSE3 "Use SSE3 assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
|
||||||
dep_option(SDL_MMX "Use MMX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
|
dep_option(SDL_MMX "Use MMX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
|
||||||
dep_option(SDL_3DNOW "Use 3Dnow! MMX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
|
dep_option(SDL_3DNOW "Use 3Dnow! MMX assembly routines" OFF "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
|
||||||
dep_option(SDL_ALTIVEC "Use Altivec assembly routines" ON "SDL_ASSEMBLY" OFF)
|
dep_option(SDL_ALTIVEC "Use Altivec assembly routines" ON "SDL_ASSEMBLY" OFF)
|
||||||
dep_option(SDL_ARMSIMD "Use SIMD assembly blitters on ARM" OFF "SDL_ASSEMBLY;SDL_CPU_ARM32" OFF)
|
dep_option(SDL_ARMSIMD "Use SIMD assembly blitters on ARM" OFF "SDL_ASSEMBLY;SDL_CPU_ARM32" OFF)
|
||||||
dep_option(SDL_ARMNEON "Use NEON assembly blitters on ARM" OFF "SDL_ASSEMBLY;SDL_CPU_ARM32" OFF)
|
dep_option(SDL_ARMNEON "Use NEON assembly blitters on ARM" OFF "SDL_ASSEMBLY;SDL_CPU_ARM32" OFF)
|
||||||
|
4
configure
vendored
4
configure
vendored
@@ -1668,7 +1668,7 @@ Optional Features:
|
|||||||
--enable-ssemath Allow GCC to use SSE floating point math
|
--enable-ssemath Allow GCC to use SSE floating point math
|
||||||
[default=maybe]
|
[default=maybe]
|
||||||
--enable-mmx use MMX assembly routines [default=yes]
|
--enable-mmx use MMX assembly routines [default=yes]
|
||||||
--enable-3dnow use 3DNow! assembly routines [default=yes]
|
--enable-3dnow use 3DNow! assembly routines [default=no]
|
||||||
--enable-sse use SSE assembly routines [default=yes]
|
--enable-sse use SSE assembly routines [default=yes]
|
||||||
--enable-sse2 use SSE2 assembly routines [default=maybe]
|
--enable-sse2 use SSE2 assembly routines [default=maybe]
|
||||||
--enable-sse3 use SSE3 assembly routines [default=maybe]
|
--enable-sse3 use SSE3 assembly routines [default=maybe]
|
||||||
@@ -20647,7 +20647,7 @@ if test ${enable_3dnow+y}
|
|||||||
then :
|
then :
|
||||||
enableval=$enable_3dnow;
|
enableval=$enable_3dnow;
|
||||||
else $as_nop
|
else $as_nop
|
||||||
enable_3dnow=yes
|
enable_3dnow=no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$enable_3dnow = xyes; then
|
if test x$enable_3dnow = xyes; then
|
||||||
|
@@ -698,8 +698,8 @@ dnl Check for various instruction support
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(3dnow,
|
AC_ARG_ENABLE(3dnow,
|
||||||
[AS_HELP_STRING([--enable-3dnow], [use 3DNow! assembly routines [default=yes]])],
|
[AS_HELP_STRING([--enable-3dnow], [use 3DNow! assembly routines [default=no]])],
|
||||||
, enable_3dnow=yes)
|
, enable_3dnow=no)
|
||||||
if test x$enable_3dnow = xyes; then
|
if test x$enable_3dnow = xyes; then
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
have_gcc_3dnow=no
|
have_gcc_3dnow=no
|
||||||
|
@@ -53,9 +53,11 @@ _m_prefetch(void *__P)
|
|||||||
#ifndef __MMX__
|
#ifndef __MMX__
|
||||||
#define __MMX__
|
#define __MMX__
|
||||||
#endif
|
#endif
|
||||||
|
/*
|
||||||
#ifndef __3dNOW__
|
#ifndef __3dNOW__
|
||||||
#define __3dNOW__
|
#define __3dNOW__
|
||||||
#endif
|
#endif
|
||||||
|
*/
|
||||||
#endif
|
#endif
|
||||||
#ifndef __SSE__
|
#ifndef __SSE__
|
||||||
#define __SSE__
|
#define __SSE__
|
||||||
|
Reference in New Issue
Block a user