mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Fix sse2 build on clang
This commit is contained in:
parent
40f26cb975
commit
559f93f353
|
@ -777,10 +777,11 @@ public:
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
// The `& 0xF` keeps the compiler happy on cases that won't actually be hit
|
||||||
if(i == 0) return *this;
|
if(i == 0) return *this;
|
||||||
else if(i < 16) return srl<i>() | v.sll<16 - i>();
|
else if(i < 16) return srl<i & 0xF>() | v.sll<(16 - i) & 0xF>();
|
||||||
else if(i == 16) return v;
|
else if(i == 16) return v;
|
||||||
else if(i < 32) return v.srl<i - 16>();
|
else if(i < 32) return v.srl<(i - 16) & 0xF>();
|
||||||
else return zero();
|
else return zero();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue