Developer Guide and Reference

Contents

_mm256_castpd_ps

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

Syntax

extern __m256 _mm256_castpd_ps(__m256d a);
Arguments
a
float64 source vector
Description
Performs a typecast operation from double-precision floating point values (float64 values) to single-precision floating point values (float32 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 single-precision floating point values.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations