mirror of
https://github.com/libretro/RetroArch
synced 2025-02-19 12:41:00 +00:00
(PSP) Add RETRO_SIMD_VFPU
This commit is contained in:
parent
94dec420cd
commit
83433bea4b
@ -624,6 +624,7 @@ struct retro_log_callback
|
|||||||
#define RETRO_SIMD_SSE4 (1 << 10)
|
#define RETRO_SIMD_SSE4 (1 << 10)
|
||||||
#define RETRO_SIMD_SSE42 (1 << 11)
|
#define RETRO_SIMD_SSE42 (1 << 11)
|
||||||
#define RETRO_SIMD_AVX2 (1 << 12)
|
#define RETRO_SIMD_AVX2 (1 << 12)
|
||||||
|
#define RETRO_SIMD_VFPU (1 << 13)
|
||||||
|
|
||||||
typedef uint64_t retro_perf_tick_t;
|
typedef uint64_t retro_perf_tick_t;
|
||||||
typedef int64_t retro_time_t;
|
typedef int64_t retro_time_t;
|
||||||
|
@ -380,6 +380,9 @@ uint64_t rarch_get_cpu_features(void)
|
|||||||
#elif defined(XBOX360)
|
#elif defined(XBOX360)
|
||||||
cpu |= RETRO_SIMD_VMX128;
|
cpu |= RETRO_SIMD_VMX128;
|
||||||
RARCH_LOG("[CPUID]: VMX128: %u\n", !!(cpu & RETRO_SIMD_VMX128));
|
RARCH_LOG("[CPUID]: VMX128: %u\n", !!(cpu & RETRO_SIMD_VMX128));
|
||||||
|
#elif defined(PSP)
|
||||||
|
cpu |= RETRO_SIMD_VFPU;
|
||||||
|
RARCH_LOG("[CPUID]: VFPU: %u\n", !!(cpu & RETRO_SIMD_VFPU));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return cpu;
|
return cpu;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user