doc.rust-lang.org
pub unsafe fn _mm512_mask_i32gather_epi64(src: __m512i, mask: __mmask8, offsets: __m256i, slice: *const i64, SCALE: i32) -> __m512i
Gather 64-bit integers from memory using 32-bit indices. 64-bit elements are loaded from addresses starting at base_addr and offset by each 32-bit element in vindex (each index is scaled by the factor in scale). Gathered elements are merged into dst using writemask k (elements are copied from src when the corresponding mask bit is not set). scale should be 1, 2, 4 or 8.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm512_mask_i32gather_epi32(src: __m512i, mask: __mmask16, offsets: __m512i, slice: *const i32, SCALE: i32) -> __m512i
Gather 32-bit integers from memory using 32-bit indices. 32-bit elements are loaded from addresses starting at base_addr and offset by each 32-bit element in vindex (each index is scaled by the factor in scale). Gathered elements are merged into dst using writemask k (elements are copied from src when the corresponding mask bit is not set). scale should be 1, 2, 4 or 8.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_getmant_round_ps(src: __m512, k: __mmask16, a: __m512, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM, SAE: i32) -> __m512
Normalize the mantissas of packed single-precision (32-bit) floating-point elements in a, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set). This intrinsic essentially calculates ±(2^k)*|x.significand|, where k depends on the interval range defined by interv and the sign depends on sc and the source sign.The mantissa is normalized to the interval specified by interv, which can take the following values:_MM_MANT_NORM_1_2 // interval [1, 2)_MM_MANT_NORM_p5_2 // interval [0.5, 2)_MM_MANT_NORM_p5_1 // interval [0.5, 1)_MM_MANT_NORM_p75_1p5 // interval [0.75, 1.5)The sign is determined by sc which can take the following values:_MM_MANT_SIGN_src // sign = sign(src)_MM_MANT_SIGN_zero // sign = 0_MM_MANT_SIGN_nan // dst = NaN if sign(src) = 1Exceptions can be suppressed by passing _MM_FROUND_NO_EXC in the sae parameter.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_getmant_round_pd(src: __m512d, k: __mmask8, a: __m512d, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM, SAE: i32) -> __m512d
Normalize the mantissas of packed double-precision (64-bit) floating-point elements in a, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set). This intrinsic essentially calculates ±(2^k)*|x.significand|, where k depends on the interval range defined by interv and the sign depends on sc and the source sign.The mantissa is normalized to the interval specified by interv, which can take the following values:_MM_MANT_NORM_1_2 // interval [1, 2)_MM_MANT_NORM_p5_2 // interval [0.5, 2)_MM_MANT_NORM_p5_1 // interval [0.5, 1)_MM_MANT_NORM_p75_1p5 // interval [0.75, 1.5)The sign is determined by sc which can take the following values:_MM_MANT_SIGN_src // sign = sign(src)_MM_MANT_SIGN_zero // sign = 0_MM_MANT_SIGN_nan // dst = NaN if sign(src) = 1Exceptions can be suppressed by passing _MM_FROUND_NO_EXC in the sae parameter.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_getmant_ps(src: __m512, k: __mmask16, a: __m512, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM) -> __m512
Normalize the mantissas of packed single-precision (32-bit) floating-point elements in a, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set). This intrinsic essentially calculates ±(2^k)*|x.significand|, where k depends on the interval range defined by interv and the sign depends on sc and the source sign.The mantissa is normalized to the interval specified by interv, which can take the following values:_MM_MANT_NORM_1_2 // interval [1, 2)_MM_MANT_NORM_p5_2 // interval [0.5, 2)_MM_MANT_NORM_p5_1 // interval [0.5, 1)_MM_MANT_NORM_p75_1p5 // interval [0.75, 1.5)The sign is determined by sc which can take the following values:_MM_MANT_SIGN_src // sign = sign(src)_MM_MANT_SIGN_zero // sign = 0_MM_MANT_SIGN_nan // dst = NaN if sign(src) = 1
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_getmant_pd(src: __m512d, k: __mmask8, a: __m512d, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM) -> __m512d
Normalize the mantissas of packed double-precision (64-bit) floating-point elements in a, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set). This intrinsic essentially calculates ±(2^k)*|x.significand|, where k depends on the interval range defined by interv and the sign depends on sc and the source sign.The mantissa is normalized to the interval specified by interv, which can take the following values:_MM_MANT_NORM_1_2 // interval [1, 2)_MM_MANT_NORM_p5_2 // interval [0.5, 2)_MM_MANT_NORM_p5_1 // interval [0.5, 1)_MM_MANT_NORM_p75_1p5 // interval [0.75, 1.5)The sign is determined by sc which can take the following values:_MM_MANT_SIGN_src // sign = sign(src)_MM_MANT_SIGN_zero // sign = 0_MM_MANT_SIGN_nan // dst = NaN if sign(src) = 1
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_getexp_round_ps(src: __m512, k: __mmask16, a: __m512, SAE: i32) -> __m512
Convert the exponent of each packed single-precision (32-bit) floating-point element in a to a single-precision (32-bit) floating-point number representing the integer exponent, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set). This intrinsic essentially calculates floor(log2(x)) for each element.Exceptions can be suppressed by passing _MM_FROUND_NO_EXC in the sae parameter.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_getexp_round_pd(src: __m512d, k: __mmask8, a: __m512d, SAE: i32) -> __m512d
Convert the exponent of each packed double-precision (64-bit) floating-point element in a to a double-precision (64-bit) floating-point number representing the integer exponent, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set). This intrinsic essentially calculates floor(log2(x)) for each element.Exceptions can be suppressed by passing _MM_FROUND_NO_EXC in the sae parameter.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_getexp_ps(src: __m512, k: __mmask16, a: __m512) -> __m512
Convert the exponent of each packed single-precision (32-bit) floating-point element in a to a single-precision (32-bit) floating-point number representing the integer exponent, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set). This intrinsic essentially calculates floor(log2(x)) for each element.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_getexp_pd(src: __m512d, k: __mmask8, a: __m512d) -> __m512d
Convert the exponent of each packed double-precision (64-bit) floating-point element in a to a double-precision (64-bit) floating-point number representing the integer exponent, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set). This intrinsic essentially calculates floor(log2(x)) for each element.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_fnmsub_round_ps(a: __m512, k: __mmask16, b: __m512, c: __m512, ROUNDING: i32) -> __m512
Multiply packed single-precision (32-bit) floating-point elements in a and b, subtract packed elements in c from the negated intermediate result, and store the results in dst using writemask k (elements are copied from a when the corresponding mask bit is not set).\
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_fnmsub_round_pd(a: __m512d, k: __mmask8, b: __m512d, c: __m512d, ROUNDING: i32) -> __m512d
Multiply packed double-precision (64-bit) floating-point elements in a and b, subtract packed elements in c from the negated intermediate result, and store the results in dst using writemask k (elements are copied from a when the corresponding mask bit is not set).\
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm512_mask_fnmsub_ps(a: __m512, k: __mmask16, b: __m512, c: __m512) -> __m512
Multiply packed single-precision (32-bit) floating-point elements in a and b, subtract packed elements in c from the negated intermediate result, and store the results in dst using writemask k (elements are copied from a when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm512_mask_fnmsub_pd(a: __m512d, k: __mmask8, b: __m512d, c: __m512d) -> __m512d
Multiply packed double-precision (64-bit) floating-point elements in a and b, subtract packed elements in c from the negated intermediate result, and store the results in dst using writemask k (elements are copied from a when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_fnmadd_round_ps(a: __m512, k: __mmask16, b: __m512, c: __m512, ROUNDING: i32) -> __m512
Multiply packed single-precision (32-bit) floating-point elements in a and b, add the negated intermediate result to packed elements in c, and store the results in dst using writemask k (elements are copied from a when the corresponding mask bit is not set).\
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_fnmadd_round_pd(a: __m512d, k: __mmask8, b: __m512d, c: __m512d, ROUNDING: i32) -> __m512d
Multiply packed double-precision (64-bit) floating-point elements in a and b, add the negated intermediate result to packed elements in c, and store the results in dst using writemask k (elements are copied from a when the corresponding mask bit is not set).\
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm512_mask_fnmadd_ps(a: __m512, k: __mmask16, b: __m512, c: __m512) -> __m512
Multiply packed single-precision (32-bit) floating-point elements in a and b, add the negated intermediate result to packed elements in c, and store the results in dst using writemask k (elements are copied from a when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm512_mask_fnmadd_pd(a: __m512d, k: __mmask8, b: __m512d, c: __m512d) -> __m512d
Multiply packed double-precision (64-bit) floating-point elements in a and b, add the negated intermediate result to packed elements in c, and store the results in dst using writemask k (elements are copied from a when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_fmsubadd_round_ps(a: __m512, k: __mmask16, b: __m512, c: __m512, ROUNDING: i32) -> __m512
Multiply packed single-precision (32-bit) floating-point elements in a and b, alternatively subtract and add packed elements in c from/to the intermediate result, and store the results in dst using writemask k (elements are copied from a when the corresponding mask bit is not set).\
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_mask_fmsubadd_round_pd(a: __m512d, k: __mmask8, b: __m512d, c: __m512d, ROUNDING: i32) -> __m512d
Multiply packed double-precision (64-bit) floating-point elements in a and b, alternatively subtract and add packed elements in c from/to the intermediate result, and store the results in dst using writemask k (elements are copied from a when the corresponding mask bit is not set).\
function
core
Stable since 1.89.0
Version 1.100.0-nightly