mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Fix Aarch64 compile in CPU_ProbeARMv7
Previous to the Cryptogams cut-in we could be sloppy and return anything for ARMv8. Now e have real code backing ARMv7 we need to return an accurate value.
This commit is contained in:
parent
268ea61f1c
commit
5e15b46234
@ -50,7 +50,9 @@ extern "C" {
|
||||
|
||||
bool CPU_ProbeARMv7()
|
||||
{
|
||||
#if defined(CRYPTOPP_NO_CPU_FEATURE_PROBES)
|
||||
#if defined(__aarch32__) || defined(__aarch64__) || defined(_M_ARM64)
|
||||
return false;
|
||||
#elif defined(CRYPTOPP_NO_CPU_FEATURE_PROBES)
|
||||
return false;
|
||||
#elif CRYPTOPP_ARM_NEON_AVAILABLE
|
||||
# if defined(CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY)
|
||||
|
Loading…
Reference in New Issue
Block a user