sysinfo: neon is supported on all current ios devices

This commit is contained in:
Bernhard Miklautz 2013-02-28 13:45:32 +01:00
parent 08772f6402
commit 0ce13c3837
1 changed files with 9 additions and 1 deletions

View File

@ -508,7 +508,15 @@ BOOL IsProcessorFeaturePresent(DWORD ProcessorFeature)
default:
break;
}
#endif
#elif defined(__APPLE__) // __linux__
switch (ProcessorFeature)
{
case PF_ARM_NEON_INSTRUCTIONS_AVAILABLE:
case PF_ARM_NEON:
ret = TRUE;
break;
}
#endif // __linux__
#elif defined(_M_IX86_AMD64)
#ifdef __GNUC__
unsigned a, b, c, d;