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/VideoCommon/TextureCacheBase.cpp | |
| parent | 69fc7bbdad2a6b41a9cce99a61fd25c0fc166a41 (diff) | |
Remove _M_X86 in favour of _M_X86_64
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 849c032b71..c2ad4cda23 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -10,7 +10,7 @@ #include <string> #include <utility> #include <vector> -#if defined(_M_X86) || defined(_M_X86_64) +#if defined(_M_X86_64) #include <pmmintrin.h> #endif @@ -2654,7 +2654,7 @@ void TextureCacheBase::UninitializeXFBMemory(u8* dst, u32 stride, u32 bytes_per_ // (Y=1,U=254,V=254) instead of dark green (Y=0,U=0,V=0) in YUV // like is done in the EFB path. -#if defined(_M_X86) || defined(_M_X86_64) +#if defined(_M_X86_64) __m128i sixteenBytes = _mm_set1_epi16((s16)(u16)0xFE01); #endif @@ -2662,7 +2662,7 @@ void TextureCacheBase::UninitializeXFBMemory(u8* dst, u32 stride, u32 bytes_per_ { u32 size = bytes_per_row; u8* rowdst = dst; -#if defined(_M_X86) || defined(_M_X86_64) +#if defined(_M_X86_64) while (size >= 16) { _mm_storeu_si128((__m128i*)rowdst, sixteenBytes); |
