mirror of https://github.com/PCSX2/pcsx2.git
gs: Cleanup remaining stuff from sse2/3 purge.
This commit is contained in:
parent
a68d834f8f
commit
2dbfe9f743
|
@ -502,7 +502,7 @@ public:
|
|||
GSVector8i::store<true>(&dst[dstpitch * 0], v0);
|
||||
GSVector8i::store<true>(&dst[dstpitch * 1], v1);
|
||||
|
||||
#elif _M_SSE >= 0x301
|
||||
#else
|
||||
|
||||
const GSVector4i* s = (const GSVector4i*)src;
|
||||
|
||||
|
@ -1340,7 +1340,7 @@ public:
|
|||
((GSVector8i*)dst)[6] = ((GSVector8i*)dst)[6].blend8(v2, mask);
|
||||
((GSVector8i*)dst)[7] = ((GSVector8i*)dst)[7].blend8(v3, mask);
|
||||
|
||||
#elif _M_SSE >= 0x301
|
||||
#else
|
||||
|
||||
GSVector4i v0, v1, v2, v3, v4;
|
||||
GSVector4i mask = GSVector4i::xff000000();
|
||||
|
@ -1423,7 +1423,7 @@ public:
|
|||
((GSVector8i*)dst)[6] = ((GSVector8i*)dst)[6].blend(v2, mask);
|
||||
((GSVector8i*)dst)[7] = ((GSVector8i*)dst)[7].blend(v3, mask);
|
||||
|
||||
#elif _M_SSE >= 0x301
|
||||
#else
|
||||
|
||||
GSVector4i v0, v1, v2, v3, v4, v5;
|
||||
GSVector4i mask = GSVector4i(0x0f000000);
|
||||
|
@ -1510,7 +1510,7 @@ public:
|
|||
((GSVector8i*)dst)[6] = ((GSVector8i*)dst)[6].blend(v2, mask);
|
||||
((GSVector8i*)dst)[7] = ((GSVector8i*)dst)[7].blend(v3, mask);
|
||||
|
||||
#elif _M_SSE >= 0x301
|
||||
#else
|
||||
|
||||
GSVector4i v0, v1, v2, v3, v4, v5;
|
||||
GSVector4i mask = GSVector4i::xf0000000();
|
||||
|
|
|
@ -321,8 +321,6 @@ public:
|
|||
{
|
||||
if (rgba)
|
||||
{
|
||||
#if _M_SSE >= 0x301
|
||||
|
||||
GSVector4i* s = (GSVector4i*)src;
|
||||
GSVector4i* d = (GSVector4i*)dst;
|
||||
|
||||
|
@ -332,18 +330,6 @@ public:
|
|||
{
|
||||
d[i] = s[i].shuffle8(mask);
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
GSVector4i* s = (GSVector4i*)src;
|
||||
GSVector4i* d = (GSVector4i*)dst;
|
||||
|
||||
for (int i = 0, w4 = w >> 2; i < w4; i++)
|
||||
{
|
||||
d[i] = ((s[i] & 0x00ff0000) >> 16) | ((s[i] & 0x000000ff) << 16) | (s[i] & 0x0000ff00);
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -589,21 +589,11 @@ void GSState::GIFPackedRegHandlerNull(const GIFPackedReg* RESTRICT r)
|
|||
|
||||
void GSState::GIFPackedRegHandlerRGBA(const GIFPackedReg* RESTRICT r)
|
||||
{
|
||||
#if _M_SSE >= 0x301
|
||||
|
||||
GSVector4i mask = GSVector4i::load(0x0c080400);
|
||||
GSVector4i v = GSVector4i::load<false>(r).shuffle8(mask);
|
||||
|
||||
m_v.RGBAQ.u32[0] = (uint32)GSVector4i::store(v);
|
||||
|
||||
#else
|
||||
|
||||
GSVector4i v = GSVector4i::load<false>(r) & GSVector4i::x000000ff();
|
||||
|
||||
m_v.RGBAQ.u32[0] = v.rgba32();
|
||||
|
||||
#endif
|
||||
|
||||
m_v.RGBAQ.Q = m_q;
|
||||
}
|
||||
|
||||
|
|
|
@ -912,16 +912,11 @@ public:
|
|||
__forceinline GSVector4i modulate16(const GSVector4i& f) const
|
||||
{
|
||||
// a * f << shift
|
||||
|
||||
#if _M_SSE >= 0x301
|
||||
|
||||
if (shift == 0)
|
||||
{
|
||||
return mul16hrs(f);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
return sll16(shift + 1).mul16hs(f);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue