mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[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:
committed by
Martin Fleisz
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user