Minor AArch64 support changes
This commit is contained in:
Vendored
+2
-2
@@ -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
|
||||||
|
|||||||
Vendored
+1
@@ -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
|
||||||
|
|||||||
@@ -53,12 +53,12 @@ void fmt_class_string<search_mode>::format(std::string& out, u64 arg)
|
|||||||
{
|
{
|
||||||
switch (mode)
|
switch (mode)
|
||||||
{
|
{
|
||||||
case as_string: return "String";
|
case as_string: return "String";
|
||||||
case as_hex: return "HEX bytes/integer";
|
case as_hex: return "HEX bytes/integer";
|
||||||
case as_f64: return "Double";
|
case as_f64: return "Double";
|
||||||
case as_f32: return "Float";
|
case as_f32: return "Float";
|
||||||
case as_inst: return "Instruction";
|
case as_inst: return "Instruction";
|
||||||
case as_fake_spu_inst: return "SPU Instruction";
|
case as_fake_spu_inst: return "SPU Instruction";
|
||||||
default: return "";
|
default: return "";
|
||||||
}
|
}
|
||||||
}();
|
}();
|
||||||
|
|||||||
Reference in New Issue
Block a user