Remove lzcnt instruction usage. (#151)

This commit is contained in:
Skyth (Asilkan) 2025-01-23 15:18:19 +03:00 committed by GitHub
parent e10eb80e38
commit b4de79720c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 5 deletions

View file

@ -18,6 +18,11 @@ endif()
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
# Target Sandy Bridge for all projects
add_compile_options(
-march=sandybridge
)
add_subdirectory(${UNLEASHED_RECOMP_THIRDPARTY_ROOT})
add_subdirectory(${UNLEASHED_RECOMP_TOOLS_ROOT})

View file

@ -39,9 +39,7 @@ function(BIN2C)
endfunction()
add_compile_options(
-march=sandybridge
-fno-strict-aliasing
-Wno-switch
-Wno-unused-function
-Wno-unused-variable

View file

@ -1,8 +1,6 @@
project("UnleashedRecompLib")
add_compile_options(
-march=sandybridge
-mlzcnt
-fno-strict-aliasing
)

@ -1 +1 @@
Subproject commit 87e350906ba41cb01aedcc6cb3a94aac24d75251
Subproject commit 73b75e197a6b9e8c1ad693f926c044d0f8f23a0b