Intel® C++ Compiler Classic Developer Guide and Reference

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

Intrinsics for Error Function Operations (512-bit)

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>


Intrinsic Name

Operation

Corresponding
Intel® AVX-512 Instruction

_mm512_cdfnorm_pd, _mm512_mask_cdfnorm_pd

Calculates cumulative distribution function for float64 vector elements.

None.

_mm512_cdfnorm_ps, _mm512_mask_cdfnorm_ps

Calculates cumulative distribution function for float32 vector elements.

None.

_mm512_cdfnorminv_pd, _mm512_mask_cdfnorminv_pd

Calculates inverse cumulative distribution function for float64 vector elements.

None.

_mm512_cdfnorminv_ps, _mm512_mask_cdfnorminv_ps

Calculates inverse cumulative distribution function for float32 vector elements.

None.

_mm512_erf_pd, _mm512_mask_erf_pd

Calculates error function for float64 vector elements.

None.

_mm512_erf_ps, _mm512_mask_erf_ps

Calculates error function for float32 vector elements.

None.

_mm512_erfc_pd, _mm512_mask_erfc_pd

Calculates complementary error function for float64 vector elements.

None.

_mm512_erfc_ps, _mm512_mask_erfc_ps

Calculates complementary error function for float32 vector elements.

None.

_mm512_erfinv_pd, _mm512_mask_erfinv_pd

Calculates inverse error function for float64 vector elements.

None.

_mm512_erfinv_ps, _mm512_mask_erfinv_ps

Calculates inverse error function for float32 vector elements.

None.

_mm512_erfcinv_pd, _mm512_mask_ercfinv_pd

Calculates inverse complementary error function for float64 vector elements.

None.

_mm512_erfcinv_ps, _mm512_mask_ercfinv_ps

Calculates inverse complementary error function for float32 vector elements.

None.


variable definition
k

writemask used as a selector

a

first source vector element

src

source element to use based on writemask result


_mm512_cdfnorm_pd

extern __m512d __cdecl _mm512_cdfnorm_pd(__m512d a);

Computes normalized central distribution function for float64 elements in a, and stores the result.


_mm512_mask_cdfnorm_pd

extern __m512d __cdecl _mm512_mask_cdfnorm_pd(__m512d src, __mmask8 k, __m512d a);

Computes normalized central distribution function for float64 elements in a, and stores the result using writemask k (elements are copied from src when the corresponding mask bit is not set).



_mm512_cdfnorm_ps

extern __m512 __cdecl _mm512_cdfnorm_ps(__m512 a);

Computes normalized central distribution function for float32 elements in a, and stores the result.


_mm512_mask_cdfnorm_ps

extern __m512 __cdecl _mm512_mask_cdfnorm_ps(__m512 src, __mmask16 k, __m512 a);

Computes normalized central distribution function for float32 elements in a, and stores the result using writemask k (elements are copied from src when the corresponding mask bit is not set).



_mm512_cdfnorminv_pd

extern __m512d __cdecl _mm512_cdfnorminv_pd(__m512d a);

Computes inverse normalized central distribution function for float64 elements in a, and stores the result.


_mm512_mask_cdfnorminv_pd

extern __m512d __cdecl _mm512_mask_cdfnorminv_pd(__m512d src, __mmask8 k, __m512d a);

Computes inverse normalized central distribution function for float64 elements in a, and stores the result using writemask k (elements are copied from src when the corresponding mask bit is not set).



_mm512_cdfnorminv_ps

extern __m512 __cdecl _mm512_cdfnorminv_ps(__m512 a);

Computes inverse normalized central distribution function for float32 elements in a, and stores the result.


_mm512_mask_cdfnorminv_ps

extern __m512 __cdecl _mm512_mask_cdfnorminv_ps(__m512 src, __mmask16 k, __m512 a);

Computes inverse normalized central distribution function for float32 elements in a, and stores the result using writemask k (elements are copied from src when the corresponding mask bit is not set).



_mm512_erf_pd

extern __m512d __cdecl _mm512_erf_pd(__m512d a);

Computes error function of packed float64 elements in a, and stores the result.


_mm512_mask_erf_pd

extern __m512d __cdecl _mm512_mask_erf_pd(__m512d src, __mmask8 k, __m512d a);

Computes error function of packed float64 elements in a, and stores the result using writemask k (elements are copied from src when the corresponding mask bit is not set).



_mm512_erf_ps

extern __m512 __cdecl _mm512_erf_ps(__m512 a);

Computes error function of packed float32 elements in a, and stores the result.


_mm512_mask_erf_ps

extern __m512 __cdecl _mm512_mask_erf_ps(__m512 src, __mmask16 k, __m512 a);

Computes error function of packed float32 elements in a, and stores the result using writemask k (elements are copied from src when the corresponding mask bit is not set).



_mm512_mask_erfc_pd

extern __m512d __cdecl _mm512_erfc_pd(__m512d a);

Computes complex error function of packed float64 elements in a, and stores the result.


_mm512_mask_erfc_pd

extern __m512d __cdecl _mm512_mask_erfc_pd(__m512d src, __mmask8 k, __m512d a);

Computes complex error function of packed float64 elements in a, and stores the result using writemask k (elements are copied from src when the corresponding mask bit is not set).



_mm512_erfc_ps

extern __m512 __cdecl _mm512_erfc_ps(__m512 a);

Computes complex error function of packed float32 elements in a, and stores the result.


_mm512_mask_erfc_ps

extern __m512 __cdecl _mm512_mask_erfc_ps(__m512 src, __mmask16 k, __m512 a);

Computes complex error function of packed float32 elements in a, and stores the result using writemask k (elements are copied from src when the corresponding mask bit is not set).



_mm512_erfinv_pd

extern __m512d __cdecl _mm512_erfinv_pd(__m512d a);

Calculates the inverse error function of float64 vector a elements.


_mm512_mask_erfinv_pd

extern __m512d __cdecl _mm512_mask_erfinv_pd(__m512d src, __mmask8 k, __m512d a);

Computes inverse error function of packed float64 elements in a, and stores the result using writemask k (elements are copied from src when the corresponding mask bit is not set).



_mm512_erfinv_ps

extern __m512 __cdecl _mm512_erfinv_ps(__m512 a);

Computes inverse error function of packed float32 elements in a, and stores the result.


_mm512_mask_erfinv_ps

extern __m512 __cdecl _mm512_mask_erfinv_ps(__m512 src, __mmask16 k, __m512 a);

Computes inverse error function of packed float32 elements in a, and stores the result using writemask k (elements are copied from src when the corresponding mask bit is not set).



_mm512_erfcinv_pd

extern __m512d __cdecl _mm512_erfcinv_pd(__m512d a);

Computes inverse complex error function of packed float64 elements in a, and stores the result.


_mm512_mask_erfcinv_pd

extern __m512d __cdecl _mm512_mask_erfcinv_pd(__m512d src, __mmask8 k, __m512d a);

Computes inverse complex error function of packed float64 elements in a, and stores the result using writemask k (elements are copied from src when the corresponding mask bit is not set).



_mm512_erfcinv_ps

extern __m512 __cdecl _mm512_erfcinv_ps(__m512 a);

Computes inverse complex error function of packed float32 elements in a, and stores the result.


_mm512_mask_erfcinv_ps

extern __m512 __cdecl _mm512_mask_erfcinv_ps(__m512 src, __mmask16 k, __m512 a);

Computes inverse complex error function of packed float32 elements in a, and stores the result using writemask k (elements are copied from src when the corresponding mask bit is not set).