Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

_mm256_castps_pd

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

Syntax

extern __m256d _mm256_castps_pd(__m256 a);

Arguments

a

float32 source vector

Description

Performs a typecast operation from single-precision floating point values (float32 values) to double-precision floating point values (float64 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 double-precision floating point values.