Visible to Intel only — GUID: GUID-A0DC0721-5543-4317-8C2B-0515AEC08761
Visible to Intel only — GUID: GUID-A0DC0721-5543-4317-8C2B-0515AEC08761
_mm_rem_epu8/ _mm256_rem_epu8
Calculates remainder of a division operation. Vector variant of rem() function for unsigned 8-bit integer arguments.
Syntax
extern __m128i _mm_rem_epu8(__m128i v1, __m128i v2); |
extern __m256i _mm256_rem_epu8(__m256i v1, __m256i v2); |
Parameters
v1 |
unsigned integer source vector containing the dividends |
v2 |
unsigned integer source vector containing the divisors |
Description
Calculates the remainder from division of v1 vector elements by corresponding v2 vector elements.
Returns
Returns the result of the operation.
Many routines in the Short Vector Math Library (SVML) are more optimized for Intel® microprocessors than for non-Intel microprocessors.