mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-04-28 13:27:58 +03:00
Remove lzcnt instruction usage. (#151)
This commit is contained in:
parent
e10eb80e38
commit
b4de79720c
4 changed files with 6 additions and 5 deletions
|
@ -18,6 +18,11 @@ endif()
|
||||||
|
|
||||||
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
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_THIRDPARTY_ROOT})
|
||||||
add_subdirectory(${UNLEASHED_RECOMP_TOOLS_ROOT})
|
add_subdirectory(${UNLEASHED_RECOMP_TOOLS_ROOT})
|
||||||
|
|
||||||
|
|
|
@ -39,9 +39,7 @@ function(BIN2C)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
add_compile_options(
|
add_compile_options(
|
||||||
-march=sandybridge
|
|
||||||
-fno-strict-aliasing
|
-fno-strict-aliasing
|
||||||
|
|
||||||
-Wno-switch
|
-Wno-switch
|
||||||
-Wno-unused-function
|
-Wno-unused-function
|
||||||
-Wno-unused-variable
|
-Wno-unused-variable
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
project("UnleashedRecompLib")
|
project("UnleashedRecompLib")
|
||||||
|
|
||||||
add_compile_options(
|
add_compile_options(
|
||||||
-march=sandybridge
|
|
||||||
-mlzcnt
|
|
||||||
-fno-strict-aliasing
|
-fno-strict-aliasing
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 87e350906ba41cb01aedcc6cb3a94aac24d75251
|
Subproject commit 73b75e197a6b9e8c1ad693f926c044d0f8f23a0b
|
Loading…
Add table
Add a link
Reference in a new issue