mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
Minor AArch64 support changes
This commit is contained in:
parent
6501374a34
commit
a2bfd5fcfc
4 changed files with 15 additions and 9 deletions
4
3rdparty/cubeb/CMakeLists.txt
vendored
4
3rdparty/cubeb/CMakeLists.txt
vendored
|
@ -11,9 +11,9 @@ set(USE_SANITIZERS FALSE CACHE BOOL "Dont't use sanitizers")
|
||||||
add_subdirectory(cubeb EXCLUDE_FROM_ALL)
|
add_subdirectory(cubeb EXCLUDE_FROM_ALL)
|
||||||
add_library(3rdparty::cubeb ALIAS cubeb)
|
add_library(3rdparty::cubeb ALIAS cubeb)
|
||||||
|
|
||||||
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|ARM)")
|
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|ARM|aarch64|AArch64|Aarch64)")
|
||||||
target_compile_definitions(speex PUBLIC
|
target_compile_definitions(speex PUBLIC
|
||||||
_USE_NEON
|
#_USE_NEON
|
||||||
)
|
)
|
||||||
elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86|X86|amd64|AMD64|em64t|EM64T)")
|
elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86|X86|amd64|AMD64|em64t|EM64T)")
|
||||||
target_compile_definitions(speex PUBLIC
|
target_compile_definitions(speex PUBLIC
|
||||||
|
|
1
3rdparty/llvm.cmake
vendored
1
3rdparty/llvm.cmake
vendored
|
@ -5,6 +5,7 @@ if(WITH_LLVM)
|
||||||
if(BUILD_LLVM_SUBMODULE)
|
if(BUILD_LLVM_SUBMODULE)
|
||||||
message(STATUS "LLVM will be built from the submodule.")
|
message(STATUS "LLVM will be built from the submodule.")
|
||||||
|
|
||||||
|
set(LLVM_TARGETS_TO_BUILD "AArch64;X86")
|
||||||
option(LLVM_BUILD_RUNTIME OFF)
|
option(LLVM_BUILD_RUNTIME OFF)
|
||||||
option(LLVM_BUILD_TOOLS OFF)
|
option(LLVM_BUILD_TOOLS OFF)
|
||||||
option(LLVM_INCLUDE_BENCHMARKS OFF)
|
option(LLVM_INCLUDE_BENCHMARKS OFF)
|
||||||
|
|
|
@ -9,11 +9,16 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ARCH_ARM64
|
#ifdef ARCH_ARM64
|
||||||
#if !defined(_MSC_VER)
|
#ifndef _MSC_VER
|
||||||
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||||
|
#pragma GCC diagnostic ignored "-Wold-style-cast"
|
||||||
#endif
|
#endif
|
||||||
#undef FORCE_INLINE
|
#undef FORCE_INLINE
|
||||||
#include "Emu/CPU/sse2neon.h"
|
#include "Emu/CPU/sse2neon.h"
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace utils
|
namespace utils
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue