gsdx sw: Fix 16 bits date test on SSE build

AVX Builds were fixed in this commit a1a842b07f
This commit is contained in:
Gregory Hainaut 2016-10-16 16:47:13 +02:00
parent defdd27987
commit 31248da3d1
1 changed files with 4 additions and 2 deletions

View File

@ -2385,7 +2385,9 @@ void GSDrawScanlineCodeGenerator::TestDestAlpha()
if(m_sel.fpsm == 2) if(m_sel.fpsm == 2)
{ {
pxor(xmm0, xmm0); pxor(xmm0, xmm0);
psrld(xmm1, 15); // psrld(xmm1, 15);
pslld(xmm1, 16);
psrld(xmm1, 31);
pcmpeqd(xmm1, xmm0); pcmpeqd(xmm1, xmm0);
} }
else else
@ -3157,4 +3159,4 @@ void GSDrawScanlineCodeGenerator::ReadTexel(const Xmm& dst, const Xmm& addr, uin
else pinsrd(dst, src, i); else pinsrd(dst, src, i);
} }
#endif #endif