diff options
| author | Zopolis4 <creatorsmithmdt@gmail.com> | 2022-08-08 10:18:36 +1000 |
|---|---|---|
| committer | Zopolis4 <creatorsmithmdt@gmail.com> | 2023-11-28 23:03:20 +1100 |
| commit | f0d2ce4683abc5eece182802a6b78a3c6ec579f6 (patch) | |
| tree | d0a4af508b78e0b802886970f93a6d213c46f41d /Source/Core/Common/Hash.cpp | |
| parent | 69fc7bbdad2a6b41a9cce99a61fd25c0fc166a41 (diff) | |
Remove _M_X86 in favour of _M_X86_64
Diffstat (limited to 'Source/Core/Common/Hash.cpp')
| -rw-r--r-- | Source/Core/Common/Hash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Hash.cpp b/Source/Core/Common/Hash.cpp index 51182a0463..683efc54fc 100644 --- a/Source/Core/Common/Hash.cpp +++ b/Source/Core/Common/Hash.cpp @@ -359,7 +359,7 @@ static u64 GetHash64_SSE42_CRC32(const u8* src, u32 len, u32 samples) return h[0] + (h[1] << 10) + (h[2] << 21) + (h[3] << 32); } -#elif defined(_M_X86) +#elif defined(_M_X86_64) FUNCTION_TARGET_SSE42 static u64 GetHash64_SSE42_CRC32(const u8* src, u32 len, u32 samples) @@ -433,7 +433,7 @@ static u64 SetHash64Function(const u8* src, u32 len, u32 samples) { if (cpu_info.bCRC32) { -#if defined(_M_X86_64) || defined(_M_X86) +#if defined(_M_X86_64) s_texture_hash_func = &GetHash64_SSE42_CRC32; #elif defined(_M_ARM_64) s_texture_hash_func = &GetHash64_ARMv8_CRC32; |
