mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-22 21:17:14 +00:00
Implement some more vector instructions.
This commit is contained in:
@@ -338,3 +338,8 @@ struct PPCContext
|
||||
PPCVRegister v[128];
|
||||
};
|
||||
};
|
||||
|
||||
inline __m128i _mm_adds_epu32(__m128i a, __m128i b)
|
||||
{
|
||||
return _mm_add_epi32(_mm_min_epu32(a, _mm_xor_si128(b, _mm_cmpeq_epi32(b, b))), b);
|
||||
}
|
||||
|
Reference in New Issue
Block a user