HasISSE -> HasSSE. That's how old this function is...
parent
ea9081ebc4
commit
11eb9957d4
4
cpu.h
4
cpu.h
|
|
@ -112,7 +112,7 @@ CRYPTOPP_DLL bool CRYPTOPP_API CpuId(word32 input, word32 *output);
|
|||
|
||||
#if CRYPTOPP_BOOL_X64
|
||||
inline bool HasSSE2() {return true;}
|
||||
inline bool HasISSE() {return true;}
|
||||
inline bool HasSSE() {return true;}
|
||||
inline bool HasMMX() {return true;}
|
||||
#else
|
||||
|
||||
|
|
@ -127,7 +127,7 @@ inline bool HasSSE2()
|
|||
return g_hasSSE2;
|
||||
}
|
||||
|
||||
inline bool HasISSE()
|
||||
inline bool HasSSE()
|
||||
{
|
||||
if (!g_x86DetectionDone)
|
||||
DetectX86Features();
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ bool TestSettings()
|
|||
|
||||
#ifdef CRYPTOPP_CPUID_AVAILABLE
|
||||
bool hasMMX = HasMMX();
|
||||
bool hasISSE = HasISSE();
|
||||
bool hasISSE = HasSSE();
|
||||
bool hasSSE2 = HasSSE2();
|
||||
bool hasSSSE3 = HasSSSE3();
|
||||
bool isP4 = IsP4();
|
||||
|
|
|
|||
|
|
@ -392,7 +392,7 @@ static const word64 Whirlpool_C[4*256+R] = {
|
|||
void Whirlpool::Transform(word64 *digest, const word64 *block)
|
||||
{
|
||||
#if CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE
|
||||
if (HasISSE())
|
||||
if (HasSSE())
|
||||
{
|
||||
// MMX version has the same structure as C version below
|
||||
#ifdef __GNUC__
|
||||
|
|
|
|||
Loading…
Reference in New Issue