From 488e6b6f0b829b59a621d9f4500ead3b88f3af52 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 8 Mar 2014 05:00:52 +0100 Subject: [PATCH] (GX) Add RETRO_SIMD_PS (Paired single) to performance.c/libretro.h --- libretro.h | 1 + performance.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/libretro.h b/libretro.h index 4a5084739f..ecf9490fb9 100755 --- a/libretro.h +++ b/libretro.h @@ -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; diff --git a/performance.c b/performance.c index 05617f8348..b5054d5919 100644 --- a/performance.c +++ b/performance.c @@ -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;