(GX) Add RETRO_SIMD_PS (Paired single) to performance.c/libretro.h

This commit is contained in:
twinaphex 2014-03-08 05:00:52 +01:00
parent a95290b94a
commit 488e6b6f0b
2 changed files with 4 additions and 0 deletions

View File

@ -643,6 +643,7 @@ struct retro_log_callback
#define RETRO_SIMD_SSE42 (1 << 11)
#define RETRO_SIMD_AVX2 (1 << 12)
#define RETRO_SIMD_VFPU (1 << 13)
#define RETRO_SIMD_PS (1 << 14)
typedef uint64_t retro_perf_tick_t;
typedef int64_t retro_time_t;

View File

@ -392,6 +392,9 @@ uint64_t rarch_get_cpu_features(void)
#elif defined(PSP)
cpu |= RETRO_SIMD_VFPU;
RARCH_LOG("[CPUID]: VFPU: %u\n", !!(cpu & RETRO_SIMD_VFPU));
#elif defined(GEKKO)
cpu |= RETRO_SIMD_PS;
RARCH_LOG("[CPUID]: PS: %u\n", !!(cpu & RETRO_SIMD_PS));
#endif
return cpu;