_mm_div_epi16/ _mm256_div_epi16

Calculates quotient of a division operation. Vector variant of div() function for signed 16-bit integer arguments.

Syntax

extern __m128i _mm_div_epi16(__m128i v1, __m128i v2);

extern __m256i _mm256_div_epi16(__m256i v1, __m256i v2);

Parameters

v1

signed integer source vector containing the dividends

v2

signed integer source vector containing the divisors

Description

Calculates the quotient by dividing value of v1 vector elements by corresponding v2 vector elements.

Returns

Returns the result of the operation.

Note

Many routines in the svml library are more highly optimized for Intel® microprocessors than for non-Intel microprocessors.

See Also


For more complete information about compiler optimizations, see our Optimization Notice.