[winpr,sysinfo] add additional neon check
systems not explicitly handled in IsProcessorFeaturePresent now enable NEON intrinsics if __ARM_NEON is defined. Fixes #9746
This commit is contained in:
parent
0e828bd657
commit
78cdb555c5
@ -800,13 +800,17 @@ BOOL IsProcessorFeaturePresent(DWORD ProcessorFeature)
|
||||
break;
|
||||
}
|
||||
|
||||
#elif defined(__APPLE__) // __linux__
|
||||
#else // __linux__
|
||||
|
||||
switch (ProcessorFeature)
|
||||
{
|
||||
case PF_ARM_NEON_INSTRUCTIONS_AVAILABLE:
|
||||
case PF_ARM_NEON:
|
||||
#ifdef __ARM_NEON
|
||||
ret = TRUE;
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user