From 66c830a9a16faf8cebaef6d6f0ab56427a34aaf7 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 2 Nov 2012 05:32:52 +0100 Subject: [PATCH] (Android) Rename sse3 to ssse3 --- android/native/jni/Android.mk | 2 +- performance.c | 6 +++--- performance.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/android/native/jni/Android.mk b/android/native/jni/Android.mk index 39d4ce1722..7a33bb4727 100644 --- a/android/native/jni/Android.mk +++ b/android/native/jni/Android.mk @@ -11,7 +11,7 @@ LOCAL_ARM_MODE := arm endif ifeq ($(TARGET_ARCH),x86) -LOCAL_CFLAGS += -DANDROID_X86 -DHAVE_SSE3 +LOCAL_CFLAGS += -DANDROID_X86 -DHAVE_SSSE3 endif ifeq ($(TARGET_ARCH),mips) diff --git a/performance.c b/performance.c index 6d4108522e..55291b3c31 100644 --- a/performance.c +++ b/performance.c @@ -154,8 +154,8 @@ void rarch_get_cpu_features(struct rarch_cpu_features *cpu) #if defined(ANDROID_ARM) cpu->neon = (cpu_flags & ANDROID_CPU_ARM_FEATURE_NEON); RARCH_LOG("[CPUID]: NEON: %d\n", cpu->neon); -#elif defined(ANDROID_X86) && defined(HAVE_SSE3) - cpu->sse3 = (cpu_flags & ANDROID_CPU_X86_FEATURE_SSSE3); - RARCH_LOG("[CPUID]: SSE3: %d\n", cpu->sse3); +#elif defined(ANDROID_X86) && defined(HAVE_SSSE3) + cpu->ssse3 = (cpu_flags & ANDROID_CPU_X86_FEATURE_SSSE3); + RARCH_LOG("[CPUID]: SSSE3: %d\n", cpu->ssse3); #endif } diff --git a/performance.h b/performance.h index 27ba51dbcf..ca098aba16 100644 --- a/performance.h +++ b/performance.h @@ -44,7 +44,7 @@ struct rarch_cpu_features { bool sse; bool sse2; - bool sse3; + bool ssse3; bool vmx; bool avx; bool neon;