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

<span class='option'> _mm256_cvttp_epi32</span>

Converts packed float64 values to truncated extended 32-bit integer values. The corresponding Intel® AVX instruction is VCVTTPD2DQ.

Syntax

extern __m128i _mm256_cvttpd_epi32(__m256d m1);

Arguments

m1

float64 source vector

Description

Converts four packed double-precision floating-point values (float64 values) in the source vector to four packed signed doubleword integer (extended 32-bit integer) values in the destination.

When a conversion is inexact, a truncated (round towards zero) value is returned. If a converted result is larger than the maximum signed doubleword integer, the floating-point invalid exception is raised. If this exception is masked, the indefinite integer value (80000000H) is returned.

Returns

Result of the conversion operation.