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_castps_si256</span>

Typecasts single-precision floating point values to integer values. No corresponding Intel® AVX instruction.

Syntax

extern __m256i _mm256_castps_si256(__m256 a);

Arguments

a

float32 source vector

Description

Performs a typecast operation from single-precision floating point values (float32 values) to integer values. This intrinsic does not introduce extra moves to the generated code. Source operand bits are passed unchanged to the result.

Returns

A vector with 256-bit integer values.