_mm_castsi128_ps

Microsoft Specific

Applies a type cast to reinterpret four 32-bit integers passed in as a 128-bit parameter as packed 32-bit floating point values.

__m128 _mm_castsi128_ps( 
   __m128i a
);

Parameters

  • [in] a
    A 128-bit parameter that contains four 32-bit integers.

Return value

r := a

Requirements

Intrinsic

Architecture

_mm_castsi128_ps

x86, x64

Header file <emmintrin.h>

Remarks

The 128-bit return value r is a copy of the 128-bit parameter a, but cast as four 32-bit floating point values. This intrinsic changes one data type to another without performing any conversion.

This intrinsic does not map to any specific machine instruction.

Example

See the example for _mm_castps_si128.

See Also

Reference

Compiler Intrinsics