mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-03 14:14:59 -06:00
build: Explicitly turn off AVX512 (#4478)
This commit is contained in:
parent
8a08bb46ee
commit
0f094cb6c8
@ -58,7 +58,7 @@ endif()
|
|||||||
if (ARCHITECTURE STREQUAL "x86_64")
|
if (ARCHITECTURE STREQUAL "x86_64")
|
||||||
# Target x86-64-v3 CPU architecture as this is a good balance between supporting performance critical
|
# Target x86-64-v3 CPU architecture as this is a good balance between supporting performance critical
|
||||||
# instructions like AVX2 and maintaining support for older CPUs.
|
# instructions like AVX2 and maintaining support for older CPUs.
|
||||||
add_compile_options(-march=x86-64-v3)
|
add_compile_options(-march=x86-64-v3 -mno-avx512f)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (APPLE AND ARCHITECTURE STREQUAL "x86_64" AND CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")
|
if (APPLE AND ARCHITECTURE STREQUAL "x86_64" AND CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user