mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Resync
This commit is contained in:
parent
6894600d41
commit
6b9a382f2e
@ -272,6 +272,9 @@ retro_time_t cpu_features_get_time_usec(void)
|
|||||||
|
|
||||||
#if defined(__x86_64__) || defined(__i386__) || defined(__i486__) || defined(__i686__) || (defined(_M_X64) && _MSC_VER > 1310) || (defined(_M_IX86) && _MSC_VER > 1310)
|
#if defined(__x86_64__) || defined(__i386__) || defined(__i486__) || defined(__i686__) || (defined(_M_X64) && _MSC_VER > 1310) || (defined(_M_IX86) && _MSC_VER > 1310)
|
||||||
#define CPU_X86
|
#define CPU_X86
|
||||||
|
#elif defined(__ARM_ARCH) || defined(__TARGET_ARCH_ARM) || defined(_M_ARM) || defined(__arm__) || \
|
||||||
|
defined(__arm64) || defined(_M_ARM64) || defined(__aarch64__) || defined(__AARCH64EL__)
|
||||||
|
#define CPU_ARM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_MSC_VER) && !defined(_XBOX)
|
#if defined(_MSC_VER) && !defined(_XBOX)
|
||||||
@ -356,7 +359,7 @@ static void arm_enable_runfast_mode(void)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux__) && !defined(CPU_X86)
|
#if defined(__linux__) && defined(CPU_ARM)
|
||||||
static unsigned char check_arm_cpu_feature(const char* feature)
|
static unsigned char check_arm_cpu_feature(const char* feature)
|
||||||
{
|
{
|
||||||
char line[1024];
|
char line[1024];
|
||||||
|
Loading…
Reference in New Issue
Block a user