Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

_mm_div_epu32/ _mm256_div_epu32

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

Syntax

extern __m128i _mm_div_epu32(__m128i v1, __m128i v2);

extern __m256i _mm256_div_epu32(__m256i v1, __m256i v2);

Parameters

v1

unsigned integer source vector containing the dividends

v2

unsigned 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 Short Vector Math Library (SVML) are more optimized for Intel® microprocessors than for non-Intel microprocessors.