Remove unused SDL_ASSEMBLY_ROUTINES define
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 22e23a3..2ce31ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)
@@ -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()
diff --git a/configure b/configure
index 069b263..3943176 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/configure.ac b/configure.ac
index 2958d3a..87cdcf3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/include/SDL_config.h.cmake b/include/SDL_config.h.cmake
index 8445ac2..9e05821 100644
--- a/include/SDL_config.h.cmake
+++ b/include/SDL_config.h.cmake
@@ -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@
diff --git a/include/SDL_config.h.in b/include/SDL_config.h.in
index 97b6e14..cd322ce 100644
--- a/include/SDL_config.h.in
+++ b/include/SDL_config.h.in
@@ -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
diff --git a/include/SDL_config_macosx.h b/include/SDL_config_macosx.h
index f752a7b..023ecaa 100644
--- a/include/SDL_config_macosx.h
+++ b/include/SDL_config_macosx.h
@@ -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
diff --git a/include/SDL_config_os2.h b/include/SDL_config_os2.h
index ae11ccd..130dd32 100644
--- a/include/SDL_config_os2.h
+++ b/include/SDL_config_os2.h
@@ -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 */
diff --git a/include/SDL_config_windows.h b/include/SDL_config_windows.h
index 7c2d746..90f5ddc 100644
--- a/include/SDL_config_windows.h
+++ b/include/SDL_config_windows.h
@@ -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: */
diff --git a/include/SDL_config_winrt.h b/include/SDL_config_winrt.h
index 9d8d2eb..75aef4e 100644
--- a/include/SDL_config_winrt.h
+++ b/include/SDL_config_winrt.h
@@ -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_ */