mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-28 04:35:08 +00:00
GSdx:vector: add sllv32 and srlv32 for 128 bits op
(variable shift)
This commit is contained in:
parent
5035e7417d
commit
d129aedfe8
@ -891,6 +891,13 @@ public:
|
||||
return GSVector4i(_mm_sll_epi32(m, i));
|
||||
}
|
||||
|
||||
#if _M_SSE >= 0x501
|
||||
__forceinline GSVector4i sllv32(__m128i i) const
|
||||
{
|
||||
return GSVector4i(_mm_sllv_epi32(m, i));
|
||||
}
|
||||
#endif
|
||||
|
||||
__forceinline GSVector4i sll64(int i) const
|
||||
{
|
||||
return GSVector4i(_mm_slli_epi64(m, i));
|
||||
@ -921,6 +928,13 @@ public:
|
||||
return GSVector4i(_mm_srl_epi32(m, i));
|
||||
}
|
||||
|
||||
#if _M_SSE >= 0x501
|
||||
__forceinline GSVector4i srlv32(__m128i i) const
|
||||
{
|
||||
return GSVector4i(_mm_srlv_epi32(m, i));
|
||||
}
|
||||
#endif
|
||||
|
||||
__forceinline GSVector4i srl64(int i) const
|
||||
{
|
||||
return GSVector4i(_mm_srli_epi64(m, i));
|
||||
|
Loading…
Reference in New Issue
Block a user