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
|
From 93dd546db947f872f337d25038de60e6bc939440 Mon Sep 17 00:00:00 2001
From: Adrian Bunk <bunk@debian.org>
Date: Sat, 30 May 2020 21:50:37 +0200
Subject: [PATCH] The baseline of the i386 port does not include SSE
SSE2 is always enabled on amd64.
---
cmake/scripts/linux/ArchSetup.cmake | 2 +-
xbmc/cores/AudioEngine/CMakeLists.txt | 16 ++++++++--------
xbmc/rendering/CMakeLists.txt | 16 ++++++++--------
xbmc/utils/CMakeLists.txt | 10 +++++-----
4 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/cmake/scripts/linux/ArchSetup.cmake b/cmake/scripts/linux/ArchSetup.cmake
index d3ad51a7..c02ac4a1 100644
--- a/cmake/scripts/linux/ArchSetup.cmake
+++ b/cmake/scripts/linux/ArchSetup.cmake
@@ -18,7 +18,7 @@ else()
elseif(CPU MATCHES "i.86")
set(ARCH i486-linux)
set(NEON False)
- add_options(CXX ALL_BUILDS "-msse")
+ #add_options(CXX ALL_BUILDS "-msse")
elseif(CPU STREQUAL arm1176jzf-s)
set(ARCH arm)
set(NEON False)
diff --git a/xbmc/cores/AudioEngine/CMakeLists.txt b/xbmc/cores/AudioEngine/CMakeLists.txt
index c5d4d978..f5ad9a47 100644
--- a/xbmc/cores/AudioEngine/CMakeLists.txt
+++ b/xbmc/cores/AudioEngine/CMakeLists.txt
@@ -156,11 +156,11 @@ endif()
core_add_library(audioengine)
target_include_directories(${CORE_LIBRARY} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
-if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore)
- if(HAVE_SSE)
- target_compile_options(${CORE_LIBRARY} PRIVATE -msse)
- endif()
- if(HAVE_SSE2)
- target_compile_options(${CORE_LIBRARY} PRIVATE -msse2)
- endif()
-endif()
+#if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore)
+# if(HAVE_SSE)
+# target_compile_options(${CORE_LIBRARY} PRIVATE -msse)
+# endif()
+# if(HAVE_SSE2)
+# target_compile_options(${CORE_LIBRARY} PRIVATE -msse2)
+# endif()
+#endif()
diff --git a/xbmc/rendering/CMakeLists.txt b/xbmc/rendering/CMakeLists.txt
index c212a962..aa999703 100644
--- a/xbmc/rendering/CMakeLists.txt
+++ b/xbmc/rendering/CMakeLists.txt
@@ -16,12 +16,12 @@ if(OPENGL_FOUND OR OPENGLES_FOUND)
endif()
core_add_library(rendering)
-if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore)
- if(HAVE_SSE)
- target_compile_options(${CORE_LIBRARY} PRIVATE -msse)
- endif()
- if(HAVE_SSE2)
- target_compile_options(${CORE_LIBRARY} PRIVATE -msse2)
- endif()
-endif()
+#if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore)
+# if(HAVE_SSE)
+# target_compile_options(${CORE_LIBRARY} PRIVATE -msse)
+# endif()
+# if(HAVE_SSE2)
+# target_compile_options(${CORE_LIBRARY} PRIVATE -msse2)
+# endif()
+#endif()
diff --git a/xbmc/utils/CMakeLists.txt b/xbmc/utils/CMakeLists.txt
index 904b5cc9..48406633 100644
--- a/xbmc/utils/CMakeLists.txt
+++ b/xbmc/utils/CMakeLists.txt
@@ -232,8 +232,8 @@ endif()
core_add_library(utils)
-if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore)
- if(HAVE_SSE2)
- target_compile_options(${CORE_LIBRARY} PRIVATE -msse2)
- endif()
-endif()
+#if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore)
+# if(HAVE_SSE2)
+# target_compile_options(${CORE_LIBRARY} PRIVATE -msse2)
+# endif()
+#endif()
--
2.35.1
|