HasISSE -> HasSSE. That's how old this function is...

pull/35/head
Jeffrey Walton 2015-07-19 13:33:41 -04:00
parent ea9081ebc4
commit 11eb9957d4
3 changed files with 4 additions and 4 deletions

4
cpu.h
View File

@ -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();

View File

@ -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();

View File

@ -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__