Skip to content

Commit

Permalink
Remove unused SDL_ASSEMBLY_ROUTINES define
Browse files Browse the repository at this point in the history
  • Loading branch information
ccawley2011 authored and sezero committed May 12, 2022
1 parent f93e810 commit e0f3da4
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 23 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Expand Up @@ -635,7 +635,6 @@ endif()

if(SDL_ASSEMBLY)
if(USE_GCC OR USE_CLANG)
set(SDL_ASSEMBLY_ROUTINES 1)
# TODO: Those all seem to be quite GCC specific - needs to be
# reworked for better compiler support
set(HAVE_ASSEMBLY TRUE)
Expand Down Expand Up @@ -853,7 +852,6 @@ if(SDL_ASSEMBLY)
set(HAVE_SSE2 TRUE)
set(HAVE_SSE3 TRUE)
check_include_file("immintrin.h" HAVE_IMMINTRIN_H)
set(SDL_ASSEMBLY_ROUTINES 1)
endif()
endif()

Expand Down
3 changes: 0 additions & 3 deletions configure
Expand Up @@ -18246,9 +18246,6 @@ if test x$enable_assembly = xyes; then
SUMMARY_modules="${SUMMARY_modules} assembly"


$as_echo "#define SDL_ASSEMBLY_ROUTINES 1" >>confdefs.h


# Make sure that we don't generate floating point code that would
# cause illegal instruction exceptions on older processors
case "$host" in
Expand Down
2 changes: 0 additions & 2 deletions configure.ac
Expand Up @@ -583,8 +583,6 @@ AC_ARG_ENABLE(assembly,
if test x$enable_assembly = xyes; then
SUMMARY_modules="${SUMMARY_modules} assembly"

AC_DEFINE(SDL_ASSEMBLY_ROUTINES, 1, [ ])

# Make sure that we don't generate floating point code that would
# cause illegal instruction exceptions on older processors
case "$host" in
Expand Down
1 change: 0 additions & 1 deletion include/SDL_config.h.cmake
Expand Up @@ -498,7 +498,6 @@
#cmakedefine SDL_LOCALE_DUMMY @SDL_LOCALE_DUMMY@

/* Enable assembly routines */
#cmakedefine SDL_ASSEMBLY_ROUTINES @SDL_ASSEMBLY_ROUTINES@
#cmakedefine SDL_ALTIVEC_BLITTERS @SDL_ALTIVEC_BLITTERS@
#cmakedefine SDL_ARM_SIMD_BLITTERS @SDL_ARM_SIMD_BLITTERS@
#cmakedefine SDL_ARM_NEON_BLITTERS @SDL_ARM_NEON_BLITTERS@
Expand Down
1 change: 0 additions & 1 deletion include/SDL_config.h.in
Expand Up @@ -465,7 +465,6 @@
#undef SDL_LOCALE_DUMMY

/* Enable assembly routines */
#undef SDL_ASSEMBLY_ROUTINES
#undef SDL_ALTIVEC_BLITTERS
#undef SDL_ARM_SIMD_BLITTERS
#undef SDL_ARM_NEON_BLITTERS
Expand Down
1 change: 0 additions & 1 deletion include/SDL_config_macosx.h
Expand Up @@ -269,7 +269,6 @@
#define SDL_FILESYSTEM_COCOA 1

/* Enable assembly routines */
#define SDL_ASSEMBLY_ROUTINES 1
#ifdef __ppc__
#define SDL_ALTIVEC_BLITTERS 1
#endif
Expand Down
3 changes: 0 additions & 3 deletions include/SDL_config_os2.h
Expand Up @@ -56,9 +56,6 @@
#define SDL_TIMER_OS2 1
#define SDL_FILESYSTEM_OS2 1

/* Enable assembly routines */
#define SDL_ASSEMBLY_ROUTINES 1

/* use libsamplerate for audio rate conversion. */
/*#define HAVE_LIBSAMPLERATE_H 1 */

Expand Down
5 changes: 0 additions & 5 deletions include/SDL_config_windows.h
Expand Up @@ -301,11 +301,6 @@ typedef unsigned int uintptr_t;
/* Enable filesystem support */
#define SDL_FILESYSTEM_WINDOWS 1

/* Enable assembly routines (Win64 doesn't have inline asm) */
#ifndef _WIN64
#define SDL_ASSEMBLY_ROUTINES 1
#endif

#endif /* SDL_config_windows_h_ */

/* vi: set ts=4 sw=4 expandtab: */
5 changes: 0 additions & 5 deletions include/SDL_config_winrt.h
Expand Up @@ -257,9 +257,4 @@ typedef unsigned int uintptr_t;
/* Enable system power support */
#define SDL_POWER_WINRT 1

/* Enable assembly routines (Win64 doesn't have inline asm) */
#ifndef _WIN64
#define SDL_ASSEMBLY_ROUTINES 1
#endif

#endif /* SDL_config_winrt_h_ */

0 comments on commit e0f3da4

Please sign in to comment.