mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 07:22:24 +00:00
build: Update architecture comments and set mtune=generic.
This commit is contained in:
parent
ba04890568
commit
13b5e8f794
@ -54,8 +54,9 @@ else()
|
||||
endif()
|
||||
|
||||
if (ARCHITECTURE STREQUAL "x86_64")
|
||||
# Set x86_64 target level to Sandy Bridge to generally match what is supported for PS4 guest code with CPU patches.
|
||||
add_compile_options(-march=sandybridge)
|
||||
# Target Sandy Bridge as a reasonable subset of instructions supported by PS4 and host CPUs.
|
||||
# Note that the native PS4 architecture 'btver2' has been attempted but causes issues with M1 CPUs.
|
||||
add_compile_options(-march=sandybridge -mtune=generic)
|
||||
endif()
|
||||
|
||||
if (APPLE AND ARCHITECTURE STREQUAL "x86_64" AND CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")
|
||||
|
Loading…
Reference in New Issue
Block a user