From 31248da3d1363d92369ff18180ebda0178fcfe7c Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 16 Oct 2016 16:47:13 +0200 Subject: [PATCH] gsdx sw: Fix 16 bits date test on SSE build AVX Builds were fixed in this commit a1a842b07fba7f2692f772b3f89b5c64115cd9c0 --- plugins/GSdx/GSDrawScanlineCodeGenerator.x86.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/GSdx/GSDrawScanlineCodeGenerator.x86.cpp b/plugins/GSdx/GSDrawScanlineCodeGenerator.x86.cpp index f00bfa95ec..93f4deaa0e 100644 --- a/plugins/GSdx/GSDrawScanlineCodeGenerator.x86.cpp +++ b/plugins/GSdx/GSDrawScanlineCodeGenerator.x86.cpp @@ -2385,7 +2385,9 @@ void GSDrawScanlineCodeGenerator::TestDestAlpha() if(m_sel.fpsm == 2) { pxor(xmm0, xmm0); - psrld(xmm1, 15); + // psrld(xmm1, 15); + pslld(xmm1, 16); + psrld(xmm1, 31); pcmpeqd(xmm1, xmm0); } else @@ -3157,4 +3159,4 @@ void GSDrawScanlineCodeGenerator::ReadTexel(const Xmm& dst, const Xmm& addr, uin else pinsrd(dst, src, i); } -#endif \ No newline at end of file +#endif