primitives: renamed NEON detection function

This commit is contained in:
Martin Fleisz 2013-02-21 03:31:07 -08:00
parent 22cc6341a6
commit e819223939
1 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ static void set_hints(primitives_hints_t* hints)
#elif defined(_M_ARM)
static UINT32 androidNeon(void)
static UINT32 getNeonSupport(void)
{
#ifdef __ANDROID__
if (android_getCpuFamily() != ANDROID_CPU_FAMILY_ARM) return 0;
@ -174,7 +174,7 @@ static UINT32 androidNeon(void)
static void set_hints(primitives_hints_t* hints)
{
/* ARM: TODO */
hints->arm_flags |= androidNeon();
hints->arm_flags |= getNeonSupport();
}
#else