Developer Guide and Reference

Contents

Intrinsics for Typecast Operations

The prototypes for Intel® Advanced Vector Extensions 512 (Intel® AVX-512) intrinsics are located in the
zmmintrin.h
header file.
To use these intrinsics, include the
immintrin.h
file as follows:
#include <immintrin.h>
These intrinsics are used for compilation and do not generate any instructions.
Intrinsic Name
Operation
Corresponding
Intel® AVX-512 Instruction
_mm512_castpd512_pd128
Casts from larger type to smaller type.
None.
_mm512_castps512_ps128
Casts from larger type to smaller type.
None.
_mm512_castsi512_si128
Casts from larger type to smaller type.
None.
_mm512_castpd512_pd256
Casts from larger type to smaller type.
None.
_mm512_castps512_ps256
Casts from larger type to smaller type.
None.
_mm512_castsi512_si256
Casts from larger type to smaller type.
None.
_mm512_castpd256_pd512
Casts from smaller type to larger type.
None.
_mm512_castps128_ps512
Casts from smaller type to larger type.
None.
_mm512_castsi128_si512
Casts from smaller type to larger type.
None.
_mm512_castpd256_pd512
Casts from smaller type to larger type.
None.
_mm512_castps256_ps512
Casts from smaller type to larger type.
None.
_mm512_castsi256_si512
Casts from smaller type to larger type.
None.
_mm512_castpd_ps
Casts from smaller type to larger type.
None.
_mm512_castpd_si512
Casts from smaller type to larger type.
None.
_mm512_castps_pd
Casts from smaller type to larger type.
None.
_mm512_castps_si512
Casts from smaller type to larger type.
None.
_mm512_castsi512_pd
Casts from smaller type to larger type.
None.
_mm512_castsi512_ps
Casts from smaller type to larger type.
None.
variable
definition
a
vector element for casting operation
_mm512_castpd_ps
extern __m512 __cdecl _mm512_castpd_ps(__m512d a);
Casts vector
a
of type
__m512d
to type
__m512
, with no change in value.
_mm512_castpd_si512
extern __m512i __cdecl _mm512_castpd_si512(__m512d a);
Casts vector
a
of type
__m512d
to type
__m512i
, with no change in value.
_mm512_castps_pd
extern __m512d __cdecl _mm512_castps_pd(__m512 a);
Casts vector
a
of type
__m512
to type
__m512d
, with no change in value.