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_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
|
||||
_USE_NEON
|
||||
#_USE_NEON
|
||||
)
|
||||
elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86|X86|amd64|AMD64|em64t|EM64T)")
|
||||
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)
|
||||
message(STATUS "LLVM will be built from the submodule.")
|
||||
|
||||
set(LLVM_TARGETS_TO_BUILD "AArch64;X86")
|
||||
option(LLVM_BUILD_RUNTIME OFF)
|
||||
option(LLVM_BUILD_TOOLS OFF)
|
||||
option(LLVM_INCLUDE_BENCHMARKS OFF)
|
||||
|
|
|
@ -9,11 +9,16 @@
|
|||
#endif
|
||||
|
||||
#ifdef ARCH_ARM64
|
||||
#if !defined(_MSC_VER)
|
||||
#ifndef _MSC_VER
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
#pragma GCC diagnostic ignored "-Wold-style-cast"
|
||||
#endif
|
||||
#undef FORCE_INLINE
|
||||
#include "Emu/CPU/sse2neon.h"
|
||||
#ifndef _MSC_VER
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
#endif
|
||||
|
||||
namespace utils
|
||||
|
|
|
@ -53,12 +53,12 @@ void fmt_class_string<search_mode>::format(std::string& out, u64 arg)
|
|||
{
|
||||
switch (mode)
|
||||
{
|
||||
case as_string: return "String";
|
||||
case as_hex: return "HEX bytes/integer";
|
||||
case as_f64: return "Double";
|
||||
case as_f32: return "Float";
|
||||
case as_inst: return "Instruction";
|
||||
case as_fake_spu_inst: return "SPU Instruction";
|
||||
case as_string: return "String";
|
||||
case as_hex: return "HEX bytes/integer";
|
||||
case as_f64: return "Double";
|
||||
case as_f32: return "Float";
|
||||
case as_inst: return "Instruction";
|
||||
case as_fake_spu_inst: return "SPU Instruction";
|
||||
default: return "";
|
||||
}
|
||||
}();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue