mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Update comments
This commit is contained in:
parent
fa5a8841bf
commit
75376f147e
12
cpu.cpp
12
cpu.cpp
@ -883,8 +883,6 @@ inline bool CPU_QueryCRC32()
|
|||||||
// M1 processor
|
// M1 processor
|
||||||
if (IsAppleMachineARMv82())
|
if (IsAppleMachineARMv82())
|
||||||
return true;
|
return true;
|
||||||
// No compiler support. CRC intrinsics result in a failed compiled.
|
|
||||||
return false;
|
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -909,8 +907,6 @@ inline bool CPU_QueryPMULL()
|
|||||||
// M1 processor
|
// M1 processor
|
||||||
if (IsAppleMachineARMv82())
|
if (IsAppleMachineARMv82())
|
||||||
return true;
|
return true;
|
||||||
// No compiler support. PMULL intrinsics result in a failed compiled.
|
|
||||||
return false;
|
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -1008,8 +1004,6 @@ inline bool CPU_QuerySHA3()
|
|||||||
// M1 processor
|
// M1 processor
|
||||||
if (IsAppleMachineARMv82())
|
if (IsAppleMachineARMv82())
|
||||||
return true;
|
return true;
|
||||||
// Nope...
|
|
||||||
return false;
|
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -1041,8 +1035,6 @@ inline bool CPU_QuerySHA512()
|
|||||||
// M1 processor
|
// M1 processor
|
||||||
if (IsAppleMachineARMv82())
|
if (IsAppleMachineARMv82())
|
||||||
return true;
|
return true;
|
||||||
// Nope...
|
|
||||||
return false;
|
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -1065,7 +1057,7 @@ inline bool CPU_QuerySM3()
|
|||||||
if ((getauxval(AT_HWCAP2) & HWCAP2_SM3) != 0)
|
if ((getauxval(AT_HWCAP2) & HWCAP2_SM3) != 0)
|
||||||
return true;
|
return true;
|
||||||
#elif defined(__APPLE__) && defined(__aarch64__) && 0
|
#elif defined(__APPLE__) && defined(__aarch64__) && 0
|
||||||
return false;
|
// No Apple support yet.
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -1088,7 +1080,7 @@ inline bool CPU_QuerySM4()
|
|||||||
if ((getauxval(AT_HWCAP2) & HWCAP2_SM4) != 0)
|
if ((getauxval(AT_HWCAP2) & HWCAP2_SM4) != 0)
|
||||||
return true;
|
return true;
|
||||||
#elif defined(__APPLE__) && defined(__aarch64__) && 0
|
#elif defined(__APPLE__) && defined(__aarch64__) && 0
|
||||||
return false;
|
// No Apple support yet.
|
||||||
#endif
|
#endif
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user