Stabilize AVX512 intrinsics
FCP completed in tracking issue rust-lang/rust#111137
This commit is contained in:
parent
7a9e01ad92
commit
68c0308cbe
20 changed files with 4595 additions and 4595 deletions
|
|
@ -35,7 +35,7 @@ unsafe extern "C" {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651&avx512techs=AVX512_BF16&text=_mm_cvtne2ps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtne2ps2bf16"))]
|
||||
pub fn _mm_cvtne2ps_pbh(a: __m128, b: __m128) -> __m128bh {
|
||||
unsafe { transmute(cvtne2ps2bf16(a.as_f32x4(), b.as_f32x4())) }
|
||||
|
|
@ -48,7 +48,7 @@ pub fn _mm_cvtne2ps_pbh(a: __m128, b: __m128) -> __m128bh {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651&avx512techs=AVX512_BF16&text=_mm_mask_cvtne2ps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtne2ps2bf16"))]
|
||||
pub fn _mm_mask_cvtne2ps_pbh(src: __m128bh, k: __mmask8, a: __m128, b: __m128) -> __m128bh {
|
||||
unsafe {
|
||||
|
|
@ -64,7 +64,7 @@ pub fn _mm_mask_cvtne2ps_pbh(src: __m128bh, k: __mmask8, a: __m128, b: __m128) -
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651&avx512techs=AVX512_BF16&text=_mm_maskz_cvtne2ps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtne2ps2bf16"))]
|
||||
pub fn _mm_maskz_cvtne2ps_pbh(k: __mmask8, a: __m128, b: __m128) -> __m128bh {
|
||||
unsafe {
|
||||
|
|
@ -79,7 +79,7 @@ pub fn _mm_maskz_cvtne2ps_pbh(k: __mmask8, a: __m128, b: __m128) -> __m128bh {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654&avx512techs=AVX512_BF16&text=_mm256_cvtne2ps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtne2ps2bf16"))]
|
||||
pub fn _mm256_cvtne2ps_pbh(a: __m256, b: __m256) -> __m256bh {
|
||||
unsafe { transmute(cvtne2ps2bf16_256(a.as_f32x8(), b.as_f32x8())) }
|
||||
|
|
@ -91,7 +91,7 @@ pub fn _mm256_cvtne2ps_pbh(a: __m256, b: __m256) -> __m256bh {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654&avx512techs=AVX512_BF16&text=_mm256_mask_cvtne2ps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtne2ps2bf16"))]
|
||||
pub fn _mm256_mask_cvtne2ps_pbh(src: __m256bh, k: __mmask16, a: __m256, b: __m256) -> __m256bh {
|
||||
unsafe {
|
||||
|
|
@ -106,7 +106,7 @@ pub fn _mm256_mask_cvtne2ps_pbh(src: __m256bh, k: __mmask16, a: __m256, b: __m25
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654&avx512techs=AVX512_BF16&text=_mm256_maskz_cvtne2ps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtne2ps2bf16"))]
|
||||
pub fn _mm256_maskz_cvtne2ps_pbh(k: __mmask16, a: __m256, b: __m256) -> __m256bh {
|
||||
unsafe {
|
||||
|
|
@ -121,7 +121,7 @@ pub fn _mm256_maskz_cvtne2ps_pbh(k: __mmask16, a: __m256, b: __m256) -> __m256bh
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657&avx512techs=AVX512_BF16&text=_mm512_cvtne2ps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtne2ps2bf16"))]
|
||||
pub fn _mm512_cvtne2ps_pbh(a: __m512, b: __m512) -> __m512bh {
|
||||
unsafe { transmute(cvtne2ps2bf16_512(a.as_f32x16(), b.as_f32x16())) }
|
||||
|
|
@ -134,7 +134,7 @@ pub fn _mm512_cvtne2ps_pbh(a: __m512, b: __m512) -> __m512bh {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657&avx512techs=AVX512_BF16&text=_mm512_mask_cvtne2ps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtne2ps2bf16"))]
|
||||
pub fn _mm512_mask_cvtne2ps_pbh(src: __m512bh, k: __mmask32, a: __m512, b: __m512) -> __m512bh {
|
||||
unsafe {
|
||||
|
|
@ -150,7 +150,7 @@ pub fn _mm512_mask_cvtne2ps_pbh(src: __m512bh, k: __mmask32, a: __m512, b: __m51
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657&avx512techs=AVX512_BF16&text=_mm512_maskz_cvtne2ps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtne2ps2bf16"))]
|
||||
pub fn _mm512_maskz_cvtne2ps_pbh(k: __mmask32, a: __m512, b: __m512) -> __m512bh {
|
||||
unsafe {
|
||||
|
|
@ -164,7 +164,7 @@ pub fn _mm512_maskz_cvtne2ps_pbh(k: __mmask32, a: __m512, b: __m512) -> __m512bh
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm256_cvtneps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtneps2bf16"))]
|
||||
pub fn _mm256_cvtneps_pbh(a: __m256) -> __m128bh {
|
||||
unsafe { transmute(cvtneps2bf16_256(a.as_f32x8())) }
|
||||
|
|
@ -176,7 +176,7 @@ pub fn _mm256_cvtneps_pbh(a: __m256) -> __m128bh {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm256_mask_cvtneps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtneps2bf16"))]
|
||||
pub fn _mm256_mask_cvtneps_pbh(src: __m128bh, k: __mmask8, a: __m256) -> __m128bh {
|
||||
unsafe {
|
||||
|
|
@ -191,7 +191,7 @@ pub fn _mm256_mask_cvtneps_pbh(src: __m128bh, k: __mmask8, a: __m256) -> __m128b
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm256_maskz_cvtneps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtneps2bf16"))]
|
||||
pub fn _mm256_maskz_cvtneps_pbh(k: __mmask8, a: __m256) -> __m128bh {
|
||||
unsafe {
|
||||
|
|
@ -205,7 +205,7 @@ pub fn _mm256_maskz_cvtneps_pbh(k: __mmask8, a: __m256) -> __m128bh {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm512_cvtneps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtneps2bf16"))]
|
||||
pub fn _mm512_cvtneps_pbh(a: __m512) -> __m256bh {
|
||||
unsafe { transmute(cvtneps2bf16_512(a.as_f32x16())) }
|
||||
|
|
@ -217,7 +217,7 @@ pub fn _mm512_cvtneps_pbh(a: __m512) -> __m256bh {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm512_mask_cvtneps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtneps2bf16"))]
|
||||
pub fn _mm512_mask_cvtneps_pbh(src: __m256bh, k: __mmask16, a: __m512) -> __m256bh {
|
||||
unsafe {
|
||||
|
|
@ -232,7 +232,7 @@ pub fn _mm512_mask_cvtneps_pbh(src: __m256bh, k: __mmask16, a: __m512) -> __m256
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm512_maskz_cvtneps_pbh)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vcvtneps2bf16"))]
|
||||
pub fn _mm512_maskz_cvtneps_pbh(k: __mmask16, a: __m512) -> __m256bh {
|
||||
unsafe {
|
||||
|
|
@ -247,7 +247,7 @@ pub fn _mm512_maskz_cvtneps_pbh(k: __mmask16, a: __m512) -> __m256bh {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm_dpbf16_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vdpbf16ps"))]
|
||||
pub fn _mm_dpbf16_ps(src: __m128, a: __m128bh, b: __m128bh) -> __m128 {
|
||||
unsafe { transmute(dpbf16ps(src.as_f32x4(), a.as_i16x8(), b.as_i16x8())) }
|
||||
|
|
@ -260,7 +260,7 @@ pub fn _mm_dpbf16_ps(src: __m128, a: __m128bh, b: __m128bh) -> __m128 {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm_mask_dpbf16_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vdpbf16ps"))]
|
||||
pub fn _mm_mask_dpbf16_ps(src: __m128, k: __mmask8, a: __m128bh, b: __m128bh) -> __m128 {
|
||||
unsafe {
|
||||
|
|
@ -276,7 +276,7 @@ pub fn _mm_mask_dpbf16_ps(src: __m128, k: __mmask8, a: __m128bh, b: __m128bh) ->
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm_maskz_dpbf16_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vdpbf16ps"))]
|
||||
pub fn _mm_maskz_dpbf16_ps(k: __mmask8, src: __m128, a: __m128bh, b: __m128bh) -> __m128 {
|
||||
unsafe {
|
||||
|
|
@ -292,7 +292,7 @@ pub fn _mm_maskz_dpbf16_ps(k: __mmask8, src: __m128, a: __m128bh, b: __m128bh) -
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm256_dpbf16_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vdpbf16ps"))]
|
||||
pub fn _mm256_dpbf16_ps(src: __m256, a: __m256bh, b: __m256bh) -> __m256 {
|
||||
unsafe { transmute(dpbf16ps_256(src.as_f32x8(), a.as_i16x16(), b.as_i16x16())) }
|
||||
|
|
@ -305,7 +305,7 @@ pub fn _mm256_dpbf16_ps(src: __m256, a: __m256bh, b: __m256bh) -> __m256 {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm256_mask_dpbf16_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vdpbf16ps"))]
|
||||
pub fn _mm256_mask_dpbf16_ps(src: __m256, k: __mmask8, a: __m256bh, b: __m256bh) -> __m256 {
|
||||
unsafe {
|
||||
|
|
@ -321,7 +321,7 @@ pub fn _mm256_mask_dpbf16_ps(src: __m256, k: __mmask8, a: __m256bh, b: __m256bh)
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm256_maskz_dpbf16_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vdpbf16ps"))]
|
||||
pub fn _mm256_maskz_dpbf16_ps(k: __mmask8, src: __m256, a: __m256bh, b: __m256bh) -> __m256 {
|
||||
unsafe {
|
||||
|
|
@ -338,7 +338,7 @@ pub fn _mm256_maskz_dpbf16_ps(k: __mmask8, src: __m256, a: __m256bh, b: __m256bh
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm512_dpbf16_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vdpbf16ps"))]
|
||||
pub fn _mm512_dpbf16_ps(src: __m512, a: __m512bh, b: __m512bh) -> __m512 {
|
||||
unsafe { transmute(dpbf16ps_512(src.as_f32x16(), a.as_i16x32(), b.as_i16x32())) }
|
||||
|
|
@ -351,7 +351,7 @@ pub fn _mm512_dpbf16_ps(src: __m512, a: __m512bh, b: __m512bh) -> __m512 {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm512_mask_dpbf16_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vdpbf16ps"))]
|
||||
pub fn _mm512_mask_dpbf16_ps(src: __m512, k: __mmask16, a: __m512bh, b: __m512bh) -> __m512 {
|
||||
unsafe {
|
||||
|
|
@ -367,7 +367,7 @@ pub fn _mm512_mask_dpbf16_ps(src: __m512, k: __mmask16, a: __m512bh, b: __m512bh
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654,1657,1660&avx512techs=AVX512_BF16&text=_mm512_maskz_dpbf16_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr("vdpbf16ps"))]
|
||||
pub fn _mm512_maskz_dpbf16_ps(k: __mmask16, src: __m512, a: __m512bh, b: __m512bh) -> __m512 {
|
||||
unsafe {
|
||||
|
|
@ -382,7 +382,7 @@ pub fn _mm512_maskz_dpbf16_ps(k: __mmask16, src: __m512, a: __m512bh, b: __m512b
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_cvtpbh_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm512_cvtpbh_ps(a: __m256bh) -> __m512 {
|
||||
unsafe { _mm512_castsi512_ps(_mm512_slli_epi32::<16>(_mm512_cvtepi16_epi32(transmute(a)))) }
|
||||
}
|
||||
|
|
@ -394,7 +394,7 @@ pub fn _mm512_cvtpbh_ps(a: __m256bh) -> __m512 {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_mask_cvtpbh_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm512_mask_cvtpbh_ps(src: __m512, k: __mmask16, a: __m256bh) -> __m512 {
|
||||
unsafe {
|
||||
let cvt = _mm512_cvtpbh_ps(a);
|
||||
|
|
@ -409,7 +409,7 @@ pub fn _mm512_mask_cvtpbh_ps(src: __m512, k: __mmask16, a: __m256bh) -> __m512 {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_maskz_cvtpbh_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm512_maskz_cvtpbh_ps(k: __mmask16, a: __m256bh) -> __m512 {
|
||||
unsafe {
|
||||
let cvt = _mm512_cvtpbh_ps(a);
|
||||
|
|
@ -423,7 +423,7 @@ pub fn _mm512_maskz_cvtpbh_ps(k: __mmask16, a: __m256bh) -> __m512 {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_cvtpbh_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_cvtpbh_ps(a: __m128bh) -> __m256 {
|
||||
unsafe { _mm256_castsi256_ps(_mm256_slli_epi32::<16>(_mm256_cvtepi16_epi32(transmute(a)))) }
|
||||
}
|
||||
|
|
@ -435,7 +435,7 @@ pub fn _mm256_cvtpbh_ps(a: __m128bh) -> __m256 {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_mask_cvtpbh_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_mask_cvtpbh_ps(src: __m256, k: __mmask8, a: __m128bh) -> __m256 {
|
||||
unsafe {
|
||||
let cvt = _mm256_cvtpbh_ps(a);
|
||||
|
|
@ -450,7 +450,7 @@ pub fn _mm256_mask_cvtpbh_ps(src: __m256, k: __mmask8, a: __m128bh) -> __m256 {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_maskz_cvtpbh_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_maskz_cvtpbh_ps(k: __mmask8, a: __m128bh) -> __m256 {
|
||||
unsafe {
|
||||
let cvt = _mm256_cvtpbh_ps(a);
|
||||
|
|
@ -464,7 +464,7 @@ pub fn _mm256_maskz_cvtpbh_ps(k: __mmask8, a: __m128bh) -> __m256 {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_cvtpbh_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_cvtpbh_ps(a: __m128bh) -> __m128 {
|
||||
unsafe { _mm_castsi128_ps(_mm_slli_epi32::<16>(_mm_cvtepi16_epi32(transmute(a)))) }
|
||||
}
|
||||
|
|
@ -476,7 +476,7 @@ pub fn _mm_cvtpbh_ps(a: __m128bh) -> __m128 {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_mask_cvtpbh_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_mask_cvtpbh_ps(src: __m128, k: __mmask8, a: __m128bh) -> __m128 {
|
||||
unsafe {
|
||||
let cvt = _mm_cvtpbh_ps(a);
|
||||
|
|
@ -491,7 +491,7 @@ pub fn _mm_mask_cvtpbh_ps(src: __m128, k: __mmask8, a: __m128bh) -> __m128 {
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_maskz_cvtpbh_ps)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_maskz_cvtpbh_ps(k: __mmask8, a: __m128bh) -> __m128 {
|
||||
unsafe {
|
||||
let cvt = _mm_cvtpbh_ps(a);
|
||||
|
|
@ -517,7 +517,7 @@ pub fn _mm_cvtsbh_ss(a: bf16) -> f32 {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[cfg_attr(test, assert_instr("vcvtneps2bf16"))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_cvtneps_pbh(a: __m128) -> __m128bh {
|
||||
unsafe {
|
||||
let mut dst: __m128bh;
|
||||
|
|
@ -539,7 +539,7 @@ pub fn _mm_cvtneps_pbh(a: __m128) -> __m128bh {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[cfg_attr(test, assert_instr("vcvtneps2bf16"))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_mask_cvtneps_pbh(src: __m128bh, k: __mmask8, a: __m128) -> __m128bh {
|
||||
unsafe {
|
||||
let mut dst = src;
|
||||
|
|
@ -562,7 +562,7 @@ pub fn _mm_mask_cvtneps_pbh(src: __m128bh, k: __mmask8, a: __m128) -> __m128bh {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avx512bf16,avx512vl")]
|
||||
#[cfg_attr(test, assert_instr("vcvtneps2bf16"))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_maskz_cvtneps_pbh(k: __mmask8, a: __m128) -> __m128bh {
|
||||
unsafe {
|
||||
let mut dst: __m128bh;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ unsafe extern "C" {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_popcnt_epi16)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntw))]
|
||||
pub fn _mm512_popcnt_epi16(a: __m512i) -> __m512i {
|
||||
unsafe { transmute(simd_ctpop(a.as_i16x32())) }
|
||||
|
|
@ -55,7 +55,7 @@ pub fn _mm512_popcnt_epi16(a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_popcnt_epi16)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntw))]
|
||||
pub fn _mm512_maskz_popcnt_epi16(k: __mmask32, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -75,7 +75,7 @@ pub fn _mm512_maskz_popcnt_epi16(k: __mmask32, a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_popcnt_epi16)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntw))]
|
||||
pub fn _mm512_mask_popcnt_epi16(src: __m512i, k: __mmask32, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -92,7 +92,7 @@ pub fn _mm512_mask_popcnt_epi16(src: __m512i, k: __mmask32, a: __m512i) -> __m51
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_popcnt_epi16)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntw))]
|
||||
pub fn _mm256_popcnt_epi16(a: __m256i) -> __m256i {
|
||||
unsafe { transmute(simd_ctpop(a.as_i16x16())) }
|
||||
|
|
@ -106,7 +106,7 @@ pub fn _mm256_popcnt_epi16(a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_popcnt_epi16)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntw))]
|
||||
pub fn _mm256_maskz_popcnt_epi16(k: __mmask16, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -126,7 +126,7 @@ pub fn _mm256_maskz_popcnt_epi16(k: __mmask16, a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_popcnt_epi16)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntw))]
|
||||
pub fn _mm256_mask_popcnt_epi16(src: __m256i, k: __mmask16, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -143,7 +143,7 @@ pub fn _mm256_mask_popcnt_epi16(src: __m256i, k: __mmask16, a: __m256i) -> __m25
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_popcnt_epi16)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntw))]
|
||||
pub fn _mm_popcnt_epi16(a: __m128i) -> __m128i {
|
||||
unsafe { transmute(simd_ctpop(a.as_i16x8())) }
|
||||
|
|
@ -157,7 +157,7 @@ pub fn _mm_popcnt_epi16(a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_popcnt_epi16)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntw))]
|
||||
pub fn _mm_maskz_popcnt_epi16(k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -177,7 +177,7 @@ pub fn _mm_maskz_popcnt_epi16(k: __mmask8, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_popcnt_epi16)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntw))]
|
||||
pub fn _mm_mask_popcnt_epi16(src: __m128i, k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -194,7 +194,7 @@ pub fn _mm_mask_popcnt_epi16(src: __m128i, k: __mmask8, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_popcnt_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntb))]
|
||||
pub fn _mm512_popcnt_epi8(a: __m512i) -> __m512i {
|
||||
unsafe { transmute(simd_ctpop(a.as_i8x64())) }
|
||||
|
|
@ -208,7 +208,7 @@ pub fn _mm512_popcnt_epi8(a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_popcnt_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntb))]
|
||||
pub fn _mm512_maskz_popcnt_epi8(k: __mmask64, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -228,7 +228,7 @@ pub fn _mm512_maskz_popcnt_epi8(k: __mmask64, a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_popcnt_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntb))]
|
||||
pub fn _mm512_mask_popcnt_epi8(src: __m512i, k: __mmask64, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -245,7 +245,7 @@ pub fn _mm512_mask_popcnt_epi8(src: __m512i, k: __mmask64, a: __m512i) -> __m512
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_popcnt_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntb))]
|
||||
pub fn _mm256_popcnt_epi8(a: __m256i) -> __m256i {
|
||||
unsafe { transmute(simd_ctpop(a.as_i8x32())) }
|
||||
|
|
@ -259,7 +259,7 @@ pub fn _mm256_popcnt_epi8(a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_popcnt_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntb))]
|
||||
pub fn _mm256_maskz_popcnt_epi8(k: __mmask32, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -279,7 +279,7 @@ pub fn _mm256_maskz_popcnt_epi8(k: __mmask32, a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_popcnt_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntb))]
|
||||
pub fn _mm256_mask_popcnt_epi8(src: __m256i, k: __mmask32, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -296,7 +296,7 @@ pub fn _mm256_mask_popcnt_epi8(src: __m256i, k: __mmask32, a: __m256i) -> __m256
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_popcnt_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntb))]
|
||||
pub fn _mm_popcnt_epi8(a: __m128i) -> __m128i {
|
||||
unsafe { transmute(simd_ctpop(a.as_i8x16())) }
|
||||
|
|
@ -310,7 +310,7 @@ pub fn _mm_popcnt_epi8(a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_popcnt_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntb))]
|
||||
pub fn _mm_maskz_popcnt_epi8(k: __mmask16, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -330,7 +330,7 @@ pub fn _mm_maskz_popcnt_epi8(k: __mmask16, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_popcnt_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntb))]
|
||||
pub fn _mm_mask_popcnt_epi8(src: __m128i, k: __mmask16, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -349,7 +349,7 @@ pub fn _mm_mask_popcnt_epi8(src: __m128i, k: __mmask16, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_bitshuffle_epi64_mask)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpshufbitqmb))]
|
||||
pub fn _mm512_bitshuffle_epi64_mask(b: __m512i, c: __m512i) -> __mmask64 {
|
||||
unsafe { bitshuffle_512(b.as_i8x64(), c.as_i8x64(), !0) }
|
||||
|
|
@ -365,7 +365,7 @@ pub fn _mm512_bitshuffle_epi64_mask(b: __m512i, c: __m512i) -> __mmask64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_bitshuffle_epi64_mask)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpshufbitqmb))]
|
||||
pub fn _mm512_mask_bitshuffle_epi64_mask(k: __mmask64, b: __m512i, c: __m512i) -> __mmask64 {
|
||||
unsafe { bitshuffle_512(b.as_i8x64(), c.as_i8x64(), k) }
|
||||
|
|
@ -378,7 +378,7 @@ pub fn _mm512_mask_bitshuffle_epi64_mask(k: __mmask64, b: __m512i, c: __m512i) -
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_bitshuffle_epi64_mask)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpshufbitqmb))]
|
||||
pub fn _mm256_bitshuffle_epi64_mask(b: __m256i, c: __m256i) -> __mmask32 {
|
||||
unsafe { bitshuffle_256(b.as_i8x32(), c.as_i8x32(), !0) }
|
||||
|
|
@ -394,7 +394,7 @@ pub fn _mm256_bitshuffle_epi64_mask(b: __m256i, c: __m256i) -> __mmask32 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_bitshuffle_epi64_mask)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpshufbitqmb))]
|
||||
pub fn _mm256_mask_bitshuffle_epi64_mask(k: __mmask32, b: __m256i, c: __m256i) -> __mmask32 {
|
||||
unsafe { bitshuffle_256(b.as_i8x32(), c.as_i8x32(), k) }
|
||||
|
|
@ -407,7 +407,7 @@ pub fn _mm256_mask_bitshuffle_epi64_mask(k: __mmask32, b: __m256i, c: __m256i) -
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_bitshuffle_epi64_mask)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpshufbitqmb))]
|
||||
pub fn _mm_bitshuffle_epi64_mask(b: __m128i, c: __m128i) -> __mmask16 {
|
||||
unsafe { bitshuffle_128(b.as_i8x16(), c.as_i8x16(), !0) }
|
||||
|
|
@ -423,7 +423,7 @@ pub fn _mm_bitshuffle_epi64_mask(b: __m128i, c: __m128i) -> __mmask16 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_bitshuffle_epi64_mask)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bitalg,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpshufbitqmb))]
|
||||
pub fn _mm_mask_bitshuffle_epi64_mask(k: __mmask16, b: __m128i, c: __m128i) -> __mmask16 {
|
||||
unsafe { bitshuffle_128(b.as_i8x16(), c.as_i8x16(), k) }
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -9,7 +9,7 @@ use stdarch_test::assert_instr;
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_broadcastmw_epi32&expand=553)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpbroadcast))] // should be vpbroadcastmw2d
|
||||
pub fn _mm512_broadcastmw_epi32(k: __mmask16) -> __m512i {
|
||||
_mm512_set1_epi32(k as i32)
|
||||
|
|
@ -20,7 +20,7 @@ pub fn _mm512_broadcastmw_epi32(k: __mmask16) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_broadcastmw_epi32&expand=552)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpbroadcast))] // should be vpbroadcastmw2d
|
||||
pub fn _mm256_broadcastmw_epi32(k: __mmask16) -> __m256i {
|
||||
_mm256_set1_epi32(k as i32)
|
||||
|
|
@ -31,7 +31,7 @@ pub fn _mm256_broadcastmw_epi32(k: __mmask16) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_broadcastmw_epi32&expand=551)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpbroadcast))] // should be vpbroadcastmw2d
|
||||
pub fn _mm_broadcastmw_epi32(k: __mmask16) -> __m128i {
|
||||
_mm_set1_epi32(k as i32)
|
||||
|
|
@ -42,7 +42,7 @@ pub fn _mm_broadcastmw_epi32(k: __mmask16) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_broadcastmb_epi64&expand=550)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpbroadcast))] // should be vpbroadcastmb2q
|
||||
pub fn _mm512_broadcastmb_epi64(k: __mmask8) -> __m512i {
|
||||
_mm512_set1_epi64(k as i64)
|
||||
|
|
@ -53,7 +53,7 @@ pub fn _mm512_broadcastmb_epi64(k: __mmask8) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_broadcastmb_epi64&expand=549)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpbroadcast))] // should be vpbroadcastmb2q
|
||||
pub fn _mm256_broadcastmb_epi64(k: __mmask8) -> __m256i {
|
||||
_mm256_set1_epi64x(k as i64)
|
||||
|
|
@ -64,7 +64,7 @@ pub fn _mm256_broadcastmb_epi64(k: __mmask8) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_broadcastmb_epi64&expand=548)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpbroadcast))] // should be vpbroadcastmb2q
|
||||
pub fn _mm_broadcastmb_epi64(k: __mmask8) -> __m128i {
|
||||
_mm_set1_epi64x(k as i64)
|
||||
|
|
@ -75,7 +75,7 @@ pub fn _mm_broadcastmb_epi64(k: __mmask8) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_conflict_epi32&expand=1248)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictd))]
|
||||
pub fn _mm512_conflict_epi32(a: __m512i) -> __m512i {
|
||||
unsafe { transmute(vpconflictd(a.as_i32x16())) }
|
||||
|
|
@ -86,7 +86,7 @@ pub fn _mm512_conflict_epi32(a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_conflict_epi32&expand=1249)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictd))]
|
||||
pub fn _mm512_mask_conflict_epi32(src: __m512i, k: __mmask16, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -100,7 +100,7 @@ pub fn _mm512_mask_conflict_epi32(src: __m512i, k: __mmask16, a: __m512i) -> __m
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_conflict_epi32&expand=1250)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictd))]
|
||||
pub fn _mm512_maskz_conflict_epi32(k: __mmask16, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -114,7 +114,7 @@ pub fn _mm512_maskz_conflict_epi32(k: __mmask16, a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_conflict_epi32&expand=1245)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictd))]
|
||||
pub fn _mm256_conflict_epi32(a: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpconflictd256(a.as_i32x8())) }
|
||||
|
|
@ -125,7 +125,7 @@ pub fn _mm256_conflict_epi32(a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_conflict_epi32&expand=1246)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictd))]
|
||||
pub fn _mm256_mask_conflict_epi32(src: __m256i, k: __mmask8, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -139,7 +139,7 @@ pub fn _mm256_mask_conflict_epi32(src: __m256i, k: __mmask8, a: __m256i) -> __m2
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_conflict_epi32&expand=1247)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictd))]
|
||||
pub fn _mm256_maskz_conflict_epi32(k: __mmask8, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -153,7 +153,7 @@ pub fn _mm256_maskz_conflict_epi32(k: __mmask8, a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_conflict_epi32&expand=1242)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictd))]
|
||||
pub fn _mm_conflict_epi32(a: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpconflictd128(a.as_i32x4())) }
|
||||
|
|
@ -164,7 +164,7 @@ pub fn _mm_conflict_epi32(a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_conflict_epi32&expand=1243)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictd))]
|
||||
pub fn _mm_mask_conflict_epi32(src: __m128i, k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -178,7 +178,7 @@ pub fn _mm_mask_conflict_epi32(src: __m128i, k: __mmask8, a: __m128i) -> __m128i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_conflict_epi32&expand=1244)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictd))]
|
||||
pub fn _mm_maskz_conflict_epi32(k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -192,7 +192,7 @@ pub fn _mm_maskz_conflict_epi32(k: __mmask8, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_conflict_epi64&expand=1257)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictq))]
|
||||
pub fn _mm512_conflict_epi64(a: __m512i) -> __m512i {
|
||||
unsafe { transmute(vpconflictq(a.as_i64x8())) }
|
||||
|
|
@ -203,7 +203,7 @@ pub fn _mm512_conflict_epi64(a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_conflict_epi64&expand=1258)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictq))]
|
||||
pub fn _mm512_mask_conflict_epi64(src: __m512i, k: __mmask8, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -217,7 +217,7 @@ pub fn _mm512_mask_conflict_epi64(src: __m512i, k: __mmask8, a: __m512i) -> __m5
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_conflict_epi64&expand=1259)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictq))]
|
||||
pub fn _mm512_maskz_conflict_epi64(k: __mmask8, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -231,7 +231,7 @@ pub fn _mm512_maskz_conflict_epi64(k: __mmask8, a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_conflict_epi64&expand=1254)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictq))]
|
||||
pub fn _mm256_conflict_epi64(a: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpconflictq256(a.as_i64x4())) }
|
||||
|
|
@ -242,7 +242,7 @@ pub fn _mm256_conflict_epi64(a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_conflict_epi64&expand=1255)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictq))]
|
||||
pub fn _mm256_mask_conflict_epi64(src: __m256i, k: __mmask8, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -256,7 +256,7 @@ pub fn _mm256_mask_conflict_epi64(src: __m256i, k: __mmask8, a: __m256i) -> __m2
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_conflict_epi64&expand=1256)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictq))]
|
||||
pub fn _mm256_maskz_conflict_epi64(k: __mmask8, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -270,7 +270,7 @@ pub fn _mm256_maskz_conflict_epi64(k: __mmask8, a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_conflict_epi64&expand=1251)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictq))]
|
||||
pub fn _mm_conflict_epi64(a: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpconflictq128(a.as_i64x2())) }
|
||||
|
|
@ -281,7 +281,7 @@ pub fn _mm_conflict_epi64(a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_conflict_epi64&expand=1252)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictq))]
|
||||
pub fn _mm_mask_conflict_epi64(src: __m128i, k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -295,7 +295,7 @@ pub fn _mm_mask_conflict_epi64(src: __m128i, k: __mmask8, a: __m128i) -> __m128i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_conflict_epi64&expand=1253)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpconflictq))]
|
||||
pub fn _mm_maskz_conflict_epi64(k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -309,7 +309,7 @@ pub fn _mm_maskz_conflict_epi64(k: __mmask8, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_lzcnt_epi32&expand=3491)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntd))]
|
||||
pub fn _mm512_lzcnt_epi32(a: __m512i) -> __m512i {
|
||||
unsafe { transmute(simd_ctlz(a.as_i32x16())) }
|
||||
|
|
@ -320,7 +320,7 @@ pub fn _mm512_lzcnt_epi32(a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_lzcnt_epi32&expand=3492)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntd))]
|
||||
pub fn _mm512_mask_lzcnt_epi32(src: __m512i, k: __mmask16, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -334,7 +334,7 @@ pub fn _mm512_mask_lzcnt_epi32(src: __m512i, k: __mmask16, a: __m512i) -> __m512
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_lzcnt_epi32&expand=3493)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntd))]
|
||||
pub fn _mm512_maskz_lzcnt_epi32(k: __mmask16, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -348,7 +348,7 @@ pub fn _mm512_maskz_lzcnt_epi32(k: __mmask16, a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_lzcnt_epi32&expand=3488)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntd))]
|
||||
pub fn _mm256_lzcnt_epi32(a: __m256i) -> __m256i {
|
||||
unsafe { transmute(simd_ctlz(a.as_i32x8())) }
|
||||
|
|
@ -359,7 +359,7 @@ pub fn _mm256_lzcnt_epi32(a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_lzcnt_epi32&expand=3489)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntd))]
|
||||
pub fn _mm256_mask_lzcnt_epi32(src: __m256i, k: __mmask8, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -373,7 +373,7 @@ pub fn _mm256_mask_lzcnt_epi32(src: __m256i, k: __mmask8, a: __m256i) -> __m256i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_lzcnt_epi32&expand=3490)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntd))]
|
||||
pub fn _mm256_maskz_lzcnt_epi32(k: __mmask8, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -387,7 +387,7 @@ pub fn _mm256_maskz_lzcnt_epi32(k: __mmask8, a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_lzcnt_epi32&expand=3485)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntd))]
|
||||
pub fn _mm_lzcnt_epi32(a: __m128i) -> __m128i {
|
||||
unsafe { transmute(simd_ctlz(a.as_i32x4())) }
|
||||
|
|
@ -398,7 +398,7 @@ pub fn _mm_lzcnt_epi32(a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_lzcnt_epi32&expand=3486)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntd))]
|
||||
pub fn _mm_mask_lzcnt_epi32(src: __m128i, k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -412,7 +412,7 @@ pub fn _mm_mask_lzcnt_epi32(src: __m128i, k: __mmask8, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_lzcnt_epi32&expand=3487)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntd))]
|
||||
pub fn _mm_maskz_lzcnt_epi32(k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -426,7 +426,7 @@ pub fn _mm_maskz_lzcnt_epi32(k: __mmask8, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_lzcnt_epi64&expand=3500)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntq))]
|
||||
pub fn _mm512_lzcnt_epi64(a: __m512i) -> __m512i {
|
||||
unsafe { transmute(simd_ctlz(a.as_i64x8())) }
|
||||
|
|
@ -437,7 +437,7 @@ pub fn _mm512_lzcnt_epi64(a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_lzcnt_epi64&expand=3501)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntq))]
|
||||
pub fn _mm512_mask_lzcnt_epi64(src: __m512i, k: __mmask8, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -451,7 +451,7 @@ pub fn _mm512_mask_lzcnt_epi64(src: __m512i, k: __mmask8, a: __m512i) -> __m512i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_lzcnt_epi64&expand=3502)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntq))]
|
||||
pub fn _mm512_maskz_lzcnt_epi64(k: __mmask8, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -465,7 +465,7 @@ pub fn _mm512_maskz_lzcnt_epi64(k: __mmask8, a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_lzcnt_epi64&expand=3497)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntq))]
|
||||
pub fn _mm256_lzcnt_epi64(a: __m256i) -> __m256i {
|
||||
unsafe { transmute(simd_ctlz(a.as_i64x4())) }
|
||||
|
|
@ -476,7 +476,7 @@ pub fn _mm256_lzcnt_epi64(a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_lzcnt_epi64&expand=3498)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntq))]
|
||||
pub fn _mm256_mask_lzcnt_epi64(src: __m256i, k: __mmask8, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -490,7 +490,7 @@ pub fn _mm256_mask_lzcnt_epi64(src: __m256i, k: __mmask8, a: __m256i) -> __m256i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_lzcnt_epi64&expand=3499)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntq))]
|
||||
pub fn _mm256_maskz_lzcnt_epi64(k: __mmask8, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -504,7 +504,7 @@ pub fn _mm256_maskz_lzcnt_epi64(k: __mmask8, a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_lzcnt_epi64&expand=3494)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntq))]
|
||||
pub fn _mm_lzcnt_epi64(a: __m128i) -> __m128i {
|
||||
unsafe { transmute(simd_ctlz(a.as_i64x2())) }
|
||||
|
|
@ -515,7 +515,7 @@ pub fn _mm_lzcnt_epi64(a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_lzcnt_epi64&expand=3495)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntq))]
|
||||
pub fn _mm_mask_lzcnt_epi64(src: __m128i, k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -529,7 +529,7 @@ pub fn _mm_mask_lzcnt_epi64(src: __m128i, k: __mmask8, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_lzcnt_epi64&expand=3496)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512cd,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vplzcntq))]
|
||||
pub fn _mm_maskz_lzcnt_epi64(k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -13,7 +13,7 @@ use stdarch_test::assert_instr;
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm512_madd52hi_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52huq))]
|
||||
pub fn _mm512_madd52hi_epu64(a: __m512i, b: __m512i, c: __m512i) -> __m512i {
|
||||
unsafe { vpmadd52huq_512(a, b, c) }
|
||||
|
|
@ -29,7 +29,7 @@ pub fn _mm512_madd52hi_epu64(a: __m512i, b: __m512i, c: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm512_mask_madd52hi_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52huq))]
|
||||
pub fn _mm512_mask_madd52hi_epu64(a: __m512i, k: __mmask8, b: __m512i, c: __m512i) -> __m512i {
|
||||
unsafe { simd_select_bitmask(k, vpmadd52huq_512(a, b, c), a) }
|
||||
|
|
@ -45,7 +45,7 @@ pub fn _mm512_mask_madd52hi_epu64(a: __m512i, k: __mmask8, b: __m512i, c: __m512
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm512_maskz_madd52hi_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52huq))]
|
||||
pub fn _mm512_maskz_madd52hi_epu64(k: __mmask8, a: __m512i, b: __m512i, c: __m512i) -> __m512i {
|
||||
unsafe { simd_select_bitmask(k, vpmadd52huq_512(a, b, c), _mm512_setzero_si512()) }
|
||||
|
|
@ -60,7 +60,7 @@ pub fn _mm512_maskz_madd52hi_epu64(k: __mmask8, a: __m512i, b: __m512i, c: __m51
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm512_madd52lo_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52luq))]
|
||||
pub fn _mm512_madd52lo_epu64(a: __m512i, b: __m512i, c: __m512i) -> __m512i {
|
||||
unsafe { vpmadd52luq_512(a, b, c) }
|
||||
|
|
@ -76,7 +76,7 @@ pub fn _mm512_madd52lo_epu64(a: __m512i, b: __m512i, c: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm512_mask_madd52lo_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52luq))]
|
||||
pub fn _mm512_mask_madd52lo_epu64(a: __m512i, k: __mmask8, b: __m512i, c: __m512i) -> __m512i {
|
||||
unsafe { simd_select_bitmask(k, vpmadd52luq_512(a, b, c), a) }
|
||||
|
|
@ -92,7 +92,7 @@ pub fn _mm512_mask_madd52lo_epu64(a: __m512i, k: __mmask8, b: __m512i, c: __m512
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm512_maskz_madd52lo_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52luq))]
|
||||
pub fn _mm512_maskz_madd52lo_epu64(k: __mmask8, a: __m512i, b: __m512i, c: __m512i) -> __m512i {
|
||||
unsafe { simd_select_bitmask(k, vpmadd52luq_512(a, b, c), _mm512_setzero_si512()) }
|
||||
|
|
@ -107,7 +107,7 @@ pub fn _mm512_maskz_madd52lo_epu64(k: __mmask8, a: __m512i, b: __m512i, c: __m51
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_madd52hi_avx_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avxifma")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52huq))]
|
||||
pub fn _mm256_madd52hi_avx_epu64(a: __m256i, b: __m256i, c: __m256i) -> __m256i {
|
||||
unsafe { vpmadd52huq_256(a, b, c) }
|
||||
|
|
@ -122,7 +122,7 @@ pub fn _mm256_madd52hi_avx_epu64(a: __m256i, b: __m256i, c: __m256i) -> __m256i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm256_madd52hi_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52huq))]
|
||||
pub fn _mm256_madd52hi_epu64(a: __m256i, b: __m256i, c: __m256i) -> __m256i {
|
||||
unsafe { vpmadd52huq_256(a, b, c) }
|
||||
|
|
@ -138,7 +138,7 @@ pub fn _mm256_madd52hi_epu64(a: __m256i, b: __m256i, c: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm256_mask_madd52hi_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52huq))]
|
||||
pub fn _mm256_mask_madd52hi_epu64(a: __m256i, k: __mmask8, b: __m256i, c: __m256i) -> __m256i {
|
||||
unsafe { simd_select_bitmask(k, vpmadd52huq_256(a, b, c), a) }
|
||||
|
|
@ -154,7 +154,7 @@ pub fn _mm256_mask_madd52hi_epu64(a: __m256i, k: __mmask8, b: __m256i, c: __m256
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm256_maskz_madd52hi_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52huq))]
|
||||
pub fn _mm256_maskz_madd52hi_epu64(k: __mmask8, a: __m256i, b: __m256i, c: __m256i) -> __m256i {
|
||||
unsafe { simd_select_bitmask(k, vpmadd52huq_256(a, b, c), _mm256_setzero_si256()) }
|
||||
|
|
@ -169,7 +169,7 @@ pub fn _mm256_maskz_madd52hi_epu64(k: __mmask8, a: __m256i, b: __m256i, c: __m25
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_madd52lo_avx_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avxifma")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52luq))]
|
||||
pub fn _mm256_madd52lo_avx_epu64(a: __m256i, b: __m256i, c: __m256i) -> __m256i {
|
||||
unsafe { vpmadd52luq_256(a, b, c) }
|
||||
|
|
@ -184,7 +184,7 @@ pub fn _mm256_madd52lo_avx_epu64(a: __m256i, b: __m256i, c: __m256i) -> __m256i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm256_madd52lo_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52luq))]
|
||||
pub fn _mm256_madd52lo_epu64(a: __m256i, b: __m256i, c: __m256i) -> __m256i {
|
||||
unsafe { vpmadd52luq_256(a, b, c) }
|
||||
|
|
@ -200,7 +200,7 @@ pub fn _mm256_madd52lo_epu64(a: __m256i, b: __m256i, c: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm256_mask_madd52lo_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52luq))]
|
||||
pub fn _mm256_mask_madd52lo_epu64(a: __m256i, k: __mmask8, b: __m256i, c: __m256i) -> __m256i {
|
||||
unsafe { simd_select_bitmask(k, vpmadd52luq_256(a, b, c), a) }
|
||||
|
|
@ -216,7 +216,7 @@ pub fn _mm256_mask_madd52lo_epu64(a: __m256i, k: __mmask8, b: __m256i, c: __m256
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm256_maskz_madd52lo_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52luq))]
|
||||
pub fn _mm256_maskz_madd52lo_epu64(k: __mmask8, a: __m256i, b: __m256i, c: __m256i) -> __m256i {
|
||||
unsafe { simd_select_bitmask(k, vpmadd52luq_256(a, b, c), _mm256_setzero_si256()) }
|
||||
|
|
@ -231,7 +231,7 @@ pub fn _mm256_maskz_madd52lo_epu64(k: __mmask8, a: __m256i, b: __m256i, c: __m25
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_madd52hi_avx_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avxifma")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52huq))]
|
||||
pub fn _mm_madd52hi_avx_epu64(a: __m128i, b: __m128i, c: __m128i) -> __m128i {
|
||||
unsafe { vpmadd52huq_128(a, b, c) }
|
||||
|
|
@ -246,7 +246,7 @@ pub fn _mm_madd52hi_avx_epu64(a: __m128i, b: __m128i, c: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm_madd52hi_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52huq))]
|
||||
pub fn _mm_madd52hi_epu64(a: __m128i, b: __m128i, c: __m128i) -> __m128i {
|
||||
unsafe { vpmadd52huq_128(a, b, c) }
|
||||
|
|
@ -262,7 +262,7 @@ pub fn _mm_madd52hi_epu64(a: __m128i, b: __m128i, c: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm_mask_madd52hi_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52huq))]
|
||||
pub fn _mm_mask_madd52hi_epu64(a: __m128i, k: __mmask8, b: __m128i, c: __m128i) -> __m128i {
|
||||
unsafe { simd_select_bitmask(k, vpmadd52huq_128(a, b, c), a) }
|
||||
|
|
@ -278,7 +278,7 @@ pub fn _mm_mask_madd52hi_epu64(a: __m128i, k: __mmask8, b: __m128i, c: __m128i)
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm_maskz_madd52hi_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52huq))]
|
||||
pub fn _mm_maskz_madd52hi_epu64(k: __mmask8, a: __m128i, b: __m128i, c: __m128i) -> __m128i {
|
||||
unsafe { simd_select_bitmask(k, vpmadd52huq_128(a, b, c), _mm_setzero_si128()) }
|
||||
|
|
@ -293,7 +293,7 @@ pub fn _mm_maskz_madd52hi_epu64(k: __mmask8, a: __m128i, b: __m128i, c: __m128i)
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_madd52lo_avx_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avxifma")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52luq))]
|
||||
pub fn _mm_madd52lo_avx_epu64(a: __m128i, b: __m128i, c: __m128i) -> __m128i {
|
||||
unsafe { vpmadd52luq_128(a, b, c) }
|
||||
|
|
@ -308,7 +308,7 @@ pub fn _mm_madd52lo_avx_epu64(a: __m128i, b: __m128i, c: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm_madd52lo_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52luq))]
|
||||
pub fn _mm_madd52lo_epu64(a: __m128i, b: __m128i, c: __m128i) -> __m128i {
|
||||
unsafe { vpmadd52luq_128(a, b, c) }
|
||||
|
|
@ -324,7 +324,7 @@ pub fn _mm_madd52lo_epu64(a: __m128i, b: __m128i, c: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm_mask_madd52lo_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52luq))]
|
||||
pub fn _mm_mask_madd52lo_epu64(a: __m128i, k: __mmask8, b: __m128i, c: __m128i) -> __m128i {
|
||||
unsafe { simd_select_bitmask(k, vpmadd52luq_128(a, b, c), a) }
|
||||
|
|
@ -340,7 +340,7 @@ pub fn _mm_mask_madd52lo_epu64(a: __m128i, k: __mmask8, b: __m128i, c: __m128i)
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#avx512techs=AVX512IFMA52&text=_mm_maskz_madd52lo_epu64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512ifma,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmadd52luq))]
|
||||
pub fn _mm_maskz_madd52lo_epu64(k: __mmask8, a: __m128i, b: __m128i, c: __m128i) -> __m128i {
|
||||
unsafe { simd_select_bitmask(k, vpmadd52luq_128(a, b, c), _mm_setzero_si128()) }
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ use stdarch_test::assert_instr;
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_permutex2var_epi8&expand=4262)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vperm))] //should be vpermi2b
|
||||
pub fn _mm512_permutex2var_epi8(a: __m512i, idx: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe { transmute(vpermi2b(a.as_i8x64(), idx.as_i8x64(), b.as_i8x64())) }
|
||||
|
|
@ -20,7 +20,7 @@ pub fn _mm512_permutex2var_epi8(a: __m512i, idx: __m512i, b: __m512i) -> __m512i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_permutex2var_epi8&expand=4259)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermt2b))]
|
||||
pub fn _mm512_mask_permutex2var_epi8(
|
||||
a: __m512i,
|
||||
|
|
@ -39,7 +39,7 @@ pub fn _mm512_mask_permutex2var_epi8(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_permutex2var_epi8&expand=4261)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vperm))] //should be vpermi2b
|
||||
pub fn _mm512_maskz_permutex2var_epi8(
|
||||
k: __mmask64,
|
||||
|
|
@ -58,7 +58,7 @@ pub fn _mm512_maskz_permutex2var_epi8(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask2_permutex2var_epi8&expand=4260)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermi2b))]
|
||||
pub fn _mm512_mask2_permutex2var_epi8(
|
||||
a: __m512i,
|
||||
|
|
@ -77,7 +77,7 @@ pub fn _mm512_mask2_permutex2var_epi8(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_permutex2var_epi8&expand=4258)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vperm))] //should be vpermi2b
|
||||
pub fn _mm256_permutex2var_epi8(a: __m256i, idx: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpermi2b256(a.as_i8x32(), idx.as_i8x32(), b.as_i8x32())) }
|
||||
|
|
@ -88,7 +88,7 @@ pub fn _mm256_permutex2var_epi8(a: __m256i, idx: __m256i, b: __m256i) -> __m256i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_permutex2var_epi8&expand=4255)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermt2b))]
|
||||
pub fn _mm256_mask_permutex2var_epi8(
|
||||
a: __m256i,
|
||||
|
|
@ -107,7 +107,7 @@ pub fn _mm256_mask_permutex2var_epi8(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_permutex2var_epi8&expand=4257)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vperm))] //should be vpermi2b
|
||||
pub fn _mm256_maskz_permutex2var_epi8(
|
||||
k: __mmask32,
|
||||
|
|
@ -126,7 +126,7 @@ pub fn _mm256_maskz_permutex2var_epi8(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask2_permutex2var_epi8&expand=4256)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermi2b))]
|
||||
pub fn _mm256_mask2_permutex2var_epi8(
|
||||
a: __m256i,
|
||||
|
|
@ -145,7 +145,7 @@ pub fn _mm256_mask2_permutex2var_epi8(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_permutex2var_epi8&expand=4254)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vperm))] //should be vpermi2b
|
||||
pub fn _mm_permutex2var_epi8(a: __m128i, idx: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpermi2b128(a.as_i8x16(), idx.as_i8x16(), b.as_i8x16())) }
|
||||
|
|
@ -156,7 +156,7 @@ pub fn _mm_permutex2var_epi8(a: __m128i, idx: __m128i, b: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_permutex2var_epi8&expand=4251)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermt2b))]
|
||||
pub fn _mm_mask_permutex2var_epi8(a: __m128i, k: __mmask16, idx: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -170,7 +170,7 @@ pub fn _mm_mask_permutex2var_epi8(a: __m128i, k: __mmask16, idx: __m128i, b: __m
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_permutex2var_epi8&expand=4253)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vperm))] //should be vpermi2b
|
||||
pub fn _mm_maskz_permutex2var_epi8(k: __mmask16, a: __m128i, idx: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -184,7 +184,7 @@ pub fn _mm_maskz_permutex2var_epi8(k: __mmask16, a: __m128i, idx: __m128i, b: __
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask2_permutex2var_epi8&expand=4252)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermi2b))]
|
||||
pub fn _mm_mask2_permutex2var_epi8(a: __m128i, idx: __m128i, k: __mmask16, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -198,7 +198,7 @@ pub fn _mm_mask2_permutex2var_epi8(a: __m128i, idx: __m128i, k: __mmask16, b: __
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_permutexvar_epi8&expand=4316)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermb))]
|
||||
pub fn _mm512_permutexvar_epi8(idx: __m512i, a: __m512i) -> __m512i {
|
||||
unsafe { transmute(vpermb(a.as_i8x64(), idx.as_i8x64())) }
|
||||
|
|
@ -209,7 +209,7 @@ pub fn _mm512_permutexvar_epi8(idx: __m512i, a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_permutexvar_epi8&expand=4314)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermb))]
|
||||
pub fn _mm512_mask_permutexvar_epi8(
|
||||
src: __m512i,
|
||||
|
|
@ -228,7 +228,7 @@ pub fn _mm512_mask_permutexvar_epi8(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_permutexvar_epi8&expand=4315)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermb))]
|
||||
pub fn _mm512_maskz_permutexvar_epi8(k: __mmask64, idx: __m512i, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -242,7 +242,7 @@ pub fn _mm512_maskz_permutexvar_epi8(k: __mmask64, idx: __m512i, a: __m512i) ->
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_permutexvar_epi8&expand=4313)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermb))]
|
||||
pub fn _mm256_permutexvar_epi8(idx: __m256i, a: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpermb256(a.as_i8x32(), idx.as_i8x32())) }
|
||||
|
|
@ -253,7 +253,7 @@ pub fn _mm256_permutexvar_epi8(idx: __m256i, a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_permutexvar_epi8&expand=4311)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermb))]
|
||||
pub fn _mm256_mask_permutexvar_epi8(
|
||||
src: __m256i,
|
||||
|
|
@ -272,7 +272,7 @@ pub fn _mm256_mask_permutexvar_epi8(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_permutexvar_epi8&expand=4312)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermb))]
|
||||
pub fn _mm256_maskz_permutexvar_epi8(k: __mmask32, idx: __m256i, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -286,7 +286,7 @@ pub fn _mm256_maskz_permutexvar_epi8(k: __mmask32, idx: __m256i, a: __m256i) ->
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_permutexvar_epi8&expand=4310)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermb))]
|
||||
pub fn _mm_permutexvar_epi8(idx: __m128i, a: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpermb128(a.as_i8x16(), idx.as_i8x16())) }
|
||||
|
|
@ -297,7 +297,7 @@ pub fn _mm_permutexvar_epi8(idx: __m128i, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_permutexvar_epi8&expand=4308)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermb))]
|
||||
pub fn _mm_mask_permutexvar_epi8(src: __m128i, k: __mmask16, idx: __m128i, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -311,7 +311,7 @@ pub fn _mm_mask_permutexvar_epi8(src: __m128i, k: __mmask16, idx: __m128i, a: __
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_permutexvar_epi8&expand=4309)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpermb))]
|
||||
pub fn _mm_maskz_permutexvar_epi8(k: __mmask16, idx: __m128i, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -325,7 +325,7 @@ pub fn _mm_maskz_permutexvar_epi8(k: __mmask16, idx: __m128i, a: __m128i) -> __m
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_multishift_epi64_epi8&expand=4026)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmultishiftqb))]
|
||||
pub fn _mm512_multishift_epi64_epi8(a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe { transmute(vpmultishiftqb(a.as_i8x64(), b.as_i8x64())) }
|
||||
|
|
@ -336,7 +336,7 @@ pub fn _mm512_multishift_epi64_epi8(a: __m512i, b: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_multishift_epi64_epi8&expand=4024)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmultishiftqb))]
|
||||
pub fn _mm512_mask_multishift_epi64_epi8(
|
||||
src: __m512i,
|
||||
|
|
@ -355,7 +355,7 @@ pub fn _mm512_mask_multishift_epi64_epi8(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_multishift_epi64_epi8&expand=4025)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmultishiftqb))]
|
||||
pub fn _mm512_maskz_multishift_epi64_epi8(k: __mmask64, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -369,7 +369,7 @@ pub fn _mm512_maskz_multishift_epi64_epi8(k: __mmask64, a: __m512i, b: __m512i)
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_multishift_epi64_epi8&expand=4023)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmultishiftqb))]
|
||||
pub fn _mm256_multishift_epi64_epi8(a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpmultishiftqb256(a.as_i8x32(), b.as_i8x32())) }
|
||||
|
|
@ -380,7 +380,7 @@ pub fn _mm256_multishift_epi64_epi8(a: __m256i, b: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_multishift_epi64_epi8&expand=4021)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmultishiftqb))]
|
||||
pub fn _mm256_mask_multishift_epi64_epi8(
|
||||
src: __m256i,
|
||||
|
|
@ -399,7 +399,7 @@ pub fn _mm256_mask_multishift_epi64_epi8(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_multishift_epi64_epi8&expand=4022)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmultishiftqb))]
|
||||
pub fn _mm256_maskz_multishift_epi64_epi8(k: __mmask32, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -413,7 +413,7 @@ pub fn _mm256_maskz_multishift_epi64_epi8(k: __mmask32, a: __m256i, b: __m256i)
|
|||
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/IntrinsicsGuide/#text=_mm_multishift_epi64_epi8&expand=4020)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmultishiftqb))]
|
||||
pub fn _mm_multishift_epi64_epi8(a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpmultishiftqb128(a.as_i8x16(), b.as_i8x16())) }
|
||||
|
|
@ -424,7 +424,7 @@ pub fn _mm_multishift_epi64_epi8(a: __m128i, b: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_multishift_epi64_epi8&expand=4018)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmultishiftqb))]
|
||||
pub fn _mm_mask_multishift_epi64_epi8(
|
||||
src: __m128i,
|
||||
|
|
@ -443,7 +443,7 @@ pub fn _mm_mask_multishift_epi64_epi8(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_multishift_epi64_epi8&expand=4019)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vbmi,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpmultishiftqb))]
|
||||
pub fn _mm_maskz_multishift_epi64_epi8(k: __mmask16, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -9,7 +9,7 @@ use stdarch_test::assert_instr;
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_dpwssd_epi32&expand=2219)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssd))]
|
||||
pub fn _mm512_dpwssd_epi32(src: __m512i, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe { transmute(vpdpwssd(src.as_i32x16(), a.as_i32x16(), b.as_i32x16())) }
|
||||
|
|
@ -20,7 +20,7 @@ pub fn _mm512_dpwssd_epi32(src: __m512i, a: __m512i, b: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_dpwssd_epi32&expand=2220)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssd))]
|
||||
pub fn _mm512_mask_dpwssd_epi32(src: __m512i, k: __mmask16, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -34,7 +34,7 @@ pub fn _mm512_mask_dpwssd_epi32(src: __m512i, k: __mmask16, a: __m512i, b: __m51
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_dpwssd_epi32&expand=2221)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssd))]
|
||||
pub fn _mm512_maskz_dpwssd_epi32(k: __mmask16, src: __m512i, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -48,7 +48,7 @@ pub fn _mm512_maskz_dpwssd_epi32(k: __mmask16, src: __m512i, a: __m512i, b: __m5
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_dpwssd_avx_epi32&expand=2713)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avxvnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssd))]
|
||||
pub fn _mm256_dpwssd_avx_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpwssd256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
|
|
@ -59,7 +59,7 @@ pub fn _mm256_dpwssd_avx_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_dpwssd_epi32&expand=2216)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssd))]
|
||||
pub fn _mm256_dpwssd_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpwssd256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
|
|
@ -70,7 +70,7 @@ pub fn _mm256_dpwssd_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_dpwssd_epi32&expand=2217)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssd))]
|
||||
pub fn _mm256_mask_dpwssd_epi32(src: __m256i, k: __mmask8, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -84,7 +84,7 @@ pub fn _mm256_mask_dpwssd_epi32(src: __m256i, k: __mmask8, a: __m256i, b: __m256
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_dpwssd_epi32&expand=2218)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssd))]
|
||||
pub fn _mm256_maskz_dpwssd_epi32(k: __mmask8, src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -98,7 +98,7 @@ pub fn _mm256_maskz_dpwssd_epi32(k: __mmask8, src: __m256i, a: __m256i, b: __m25
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_dpwssd_avx_epi32&expand=2712)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avxvnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssd))]
|
||||
pub fn _mm_dpwssd_avx_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpwssd128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
|
|
@ -109,7 +109,7 @@ pub fn _mm_dpwssd_avx_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_dpwssd_epi32&expand=2213)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssd))]
|
||||
pub fn _mm_dpwssd_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpwssd128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
|
|
@ -120,7 +120,7 @@ pub fn _mm_dpwssd_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_dpwssd_epi32&expand=2214)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssd))]
|
||||
pub fn _mm_mask_dpwssd_epi32(src: __m128i, k: __mmask8, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -134,7 +134,7 @@ pub fn _mm_mask_dpwssd_epi32(src: __m128i, k: __mmask8, a: __m128i, b: __m128i)
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_dpwssd_epi32&expand=2215)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssd))]
|
||||
pub fn _mm_maskz_dpwssd_epi32(k: __mmask8, src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -148,7 +148,7 @@ pub fn _mm_maskz_dpwssd_epi32(k: __mmask8, src: __m128i, a: __m128i, b: __m128i)
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_dpwssds_epi32&expand=2228)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssds))]
|
||||
pub fn _mm512_dpwssds_epi32(src: __m512i, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe { transmute(vpdpwssds(src.as_i32x16(), a.as_i32x16(), b.as_i32x16())) }
|
||||
|
|
@ -159,7 +159,7 @@ pub fn _mm512_dpwssds_epi32(src: __m512i, a: __m512i, b: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_dpwssds_epi32&expand=2229)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssds))]
|
||||
pub fn _mm512_mask_dpwssds_epi32(src: __m512i, k: __mmask16, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -173,7 +173,7 @@ pub fn _mm512_mask_dpwssds_epi32(src: __m512i, k: __mmask16, a: __m512i, b: __m5
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_dpwssds_epi32&expand=2230)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssds))]
|
||||
pub fn _mm512_maskz_dpwssds_epi32(k: __mmask16, src: __m512i, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -187,7 +187,7 @@ pub fn _mm512_maskz_dpwssds_epi32(k: __mmask16, src: __m512i, a: __m512i, b: __m
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_dpwssds_avx_epi32&expand=2726)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avxvnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssds))]
|
||||
pub fn _mm256_dpwssds_avx_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpwssds256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
|
|
@ -198,7 +198,7 @@ pub fn _mm256_dpwssds_avx_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_dpwssds_epi32&expand=2225)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssds))]
|
||||
pub fn _mm256_dpwssds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpwssds256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
|
|
@ -209,7 +209,7 @@ pub fn _mm256_dpwssds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_dpwssds_epi32&expand=2226)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssds))]
|
||||
pub fn _mm256_mask_dpwssds_epi32(src: __m256i, k: __mmask8, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -223,7 +223,7 @@ pub fn _mm256_mask_dpwssds_epi32(src: __m256i, k: __mmask8, a: __m256i, b: __m25
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_dpwssds_epi32&expand=2227)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssds))]
|
||||
pub fn _mm256_maskz_dpwssds_epi32(k: __mmask8, src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -237,7 +237,7 @@ pub fn _mm256_maskz_dpwssds_epi32(k: __mmask8, src: __m256i, a: __m256i, b: __m2
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_dpwssds_avx_epi32&expand=2725)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avxvnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssds))]
|
||||
pub fn _mm_dpwssds_avx_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpwssds128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
|
|
@ -248,7 +248,7 @@ pub fn _mm_dpwssds_avx_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_dpwssds_epi32&expand=2222)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssds))]
|
||||
pub fn _mm_dpwssds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpwssds128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
|
|
@ -259,7 +259,7 @@ pub fn _mm_dpwssds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_dpwssds_epi32&expand=2223)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssds))]
|
||||
pub fn _mm_mask_dpwssds_epi32(src: __m128i, k: __mmask8, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -273,7 +273,7 @@ pub fn _mm_mask_dpwssds_epi32(src: __m128i, k: __mmask8, a: __m128i, b: __m128i)
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_dpwssds_epi32&expand=2224)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwssds))]
|
||||
pub fn _mm_maskz_dpwssds_epi32(k: __mmask8, src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -287,7 +287,7 @@ pub fn _mm_maskz_dpwssds_epi32(k: __mmask8, src: __m128i, a: __m128i, b: __m128i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_dpbusd_epi32&expand=2201)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusd))]
|
||||
pub fn _mm512_dpbusd_epi32(src: __m512i, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe { transmute(vpdpbusd(src.as_i32x16(), a.as_i32x16(), b.as_i32x16())) }
|
||||
|
|
@ -298,7 +298,7 @@ pub fn _mm512_dpbusd_epi32(src: __m512i, a: __m512i, b: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_dpbusd_epi32&expand=2202)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusd))]
|
||||
pub fn _mm512_mask_dpbusd_epi32(src: __m512i, k: __mmask16, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -312,7 +312,7 @@ pub fn _mm512_mask_dpbusd_epi32(src: __m512i, k: __mmask16, a: __m512i, b: __m51
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_dpbusd_epi32&expand=2203)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusd))]
|
||||
pub fn _mm512_maskz_dpbusd_epi32(k: __mmask16, src: __m512i, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -326,7 +326,7 @@ pub fn _mm512_maskz_dpbusd_epi32(k: __mmask16, src: __m512i, a: __m512i, b: __m5
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_dpbusd_avx_epi32&expand=2683)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avxvnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusd))]
|
||||
pub fn _mm256_dpbusd_avx_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpbusd256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
|
|
@ -337,7 +337,7 @@ pub fn _mm256_dpbusd_avx_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_dpbusd_epi32&expand=2198)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusd))]
|
||||
pub fn _mm256_dpbusd_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpbusd256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
|
|
@ -348,7 +348,7 @@ pub fn _mm256_dpbusd_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_dpbusd_epi32&expand=2199)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusd))]
|
||||
pub fn _mm256_mask_dpbusd_epi32(src: __m256i, k: __mmask8, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -362,7 +362,7 @@ pub fn _mm256_mask_dpbusd_epi32(src: __m256i, k: __mmask8, a: __m256i, b: __m256
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_dpbusd_epi32&expand=2200)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusd))]
|
||||
pub fn _mm256_maskz_dpbusd_epi32(k: __mmask8, src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -376,7 +376,7 @@ pub fn _mm256_maskz_dpbusd_epi32(k: __mmask8, src: __m256i, a: __m256i, b: __m25
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_dpbusd_avx_epi32&expand=2682)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avxvnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusd))]
|
||||
pub fn _mm_dpbusd_avx_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpbusd128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
|
|
@ -387,7 +387,7 @@ pub fn _mm_dpbusd_avx_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_dpbusd_epi32&expand=2195)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusd))]
|
||||
pub fn _mm_dpbusd_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpbusd128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
|
|
@ -398,7 +398,7 @@ pub fn _mm_dpbusd_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_dpbusd_epi32&expand=2196)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusd))]
|
||||
pub fn _mm_mask_dpbusd_epi32(src: __m128i, k: __mmask8, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -412,7 +412,7 @@ pub fn _mm_mask_dpbusd_epi32(src: __m128i, k: __mmask8, a: __m128i, b: __m128i)
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_dpbusd_epi32&expand=2197)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusd))]
|
||||
pub fn _mm_maskz_dpbusd_epi32(k: __mmask8, src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -426,7 +426,7 @@ pub fn _mm_maskz_dpbusd_epi32(k: __mmask8, src: __m128i, a: __m128i, b: __m128i)
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_dpbusds_epi32&expand=2210)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusds))]
|
||||
pub fn _mm512_dpbusds_epi32(src: __m512i, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe { transmute(vpdpbusds(src.as_i32x16(), a.as_i32x16(), b.as_i32x16())) }
|
||||
|
|
@ -437,7 +437,7 @@ pub fn _mm512_dpbusds_epi32(src: __m512i, a: __m512i, b: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_dpbusds_epi32&expand=2211)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusds))]
|
||||
pub fn _mm512_mask_dpbusds_epi32(src: __m512i, k: __mmask16, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -451,7 +451,7 @@ pub fn _mm512_mask_dpbusds_epi32(src: __m512i, k: __mmask16, a: __m512i, b: __m5
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_dpbusds_epi32&expand=2212)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusds))]
|
||||
pub fn _mm512_maskz_dpbusds_epi32(k: __mmask16, src: __m512i, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -465,7 +465,7 @@ pub fn _mm512_maskz_dpbusds_epi32(k: __mmask16, src: __m512i, a: __m512i, b: __m
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_dpbusds_avx_epi32&expand=2696)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avxvnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusds))]
|
||||
pub fn _mm256_dpbusds_avx_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpbusds256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
|
|
@ -476,7 +476,7 @@ pub fn _mm256_dpbusds_avx_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_dpbusds_epi32&expand=2207)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusds))]
|
||||
pub fn _mm256_dpbusds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpbusds256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
|
|
@ -487,7 +487,7 @@ pub fn _mm256_dpbusds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_dpbusds_epi32&expand=2208)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusds))]
|
||||
pub fn _mm256_mask_dpbusds_epi32(src: __m256i, k: __mmask8, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -501,7 +501,7 @@ pub fn _mm256_mask_dpbusds_epi32(src: __m256i, k: __mmask8, a: __m256i, b: __m25
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_dpbusds_epi32&expand=2209)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusds))]
|
||||
pub fn _mm256_maskz_dpbusds_epi32(k: __mmask8, src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -515,7 +515,7 @@ pub fn _mm256_maskz_dpbusds_epi32(k: __mmask8, src: __m256i, a: __m256i, b: __m2
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_dpbusds_avx_epi32&expand=2695)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avxvnni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusds))]
|
||||
pub fn _mm_dpbusds_avx_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpbusds128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
|
|
@ -526,7 +526,7 @@ pub fn _mm_dpbusds_avx_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_dpbusds_epi32&expand=2204)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusds))]
|
||||
pub fn _mm_dpbusds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpbusds128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
|
|
@ -537,7 +537,7 @@ pub fn _mm_dpbusds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_dpbusds_epi32&expand=2205)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusds))]
|
||||
pub fn _mm_mask_dpbusds_epi32(src: __m128i, k: __mmask8, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -551,7 +551,7 @@ pub fn _mm_mask_dpbusds_epi32(src: __m128i, k: __mmask8, a: __m128i, b: __m128i)
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_dpbusds_epi32&expand=2206)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vnni,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbusds))]
|
||||
pub fn _mm_maskz_dpbusds_epi32(k: __mmask8, src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -568,7 +568,7 @@ pub fn _mm_maskz_dpbusds_epi32(k: __mmask8, src: __m128i, a: __m128i, b: __m128i
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint8")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbssd))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_dpbssd_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpbssd_128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
}
|
||||
|
|
@ -581,7 +581,7 @@ pub fn _mm_dpbssd_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint8")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbssd))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_dpbssd_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpbssd_256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
}
|
||||
|
|
@ -594,7 +594,7 @@ pub fn _mm256_dpbssd_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint8")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbssds))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_dpbssds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpbssds_128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
}
|
||||
|
|
@ -607,7 +607,7 @@ pub fn _mm_dpbssds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint8")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbssds))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_dpbssds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpbssds_256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
}
|
||||
|
|
@ -620,7 +620,7 @@ pub fn _mm256_dpbssds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint8")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbsud))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_dpbsud_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpbsud_128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
}
|
||||
|
|
@ -633,7 +633,7 @@ pub fn _mm_dpbsud_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint8")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbsud))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_dpbsud_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpbsud_256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
}
|
||||
|
|
@ -646,7 +646,7 @@ pub fn _mm256_dpbsud_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint8")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbsuds))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_dpbsuds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpbsuds_128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
}
|
||||
|
|
@ -659,7 +659,7 @@ pub fn _mm_dpbsuds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint8")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbsuds))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_dpbsuds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpbsuds_256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
}
|
||||
|
|
@ -672,7 +672,7 @@ pub fn _mm256_dpbsuds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint8")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbuud))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_dpbuud_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpbuud_128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
}
|
||||
|
|
@ -685,7 +685,7 @@ pub fn _mm_dpbuud_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint8")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbuud))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_dpbuud_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpbuud_256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
}
|
||||
|
|
@ -698,7 +698,7 @@ pub fn _mm256_dpbuud_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint8")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbuuds))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_dpbuuds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpbuuds_128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
}
|
||||
|
|
@ -711,7 +711,7 @@ pub fn _mm_dpbuuds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint8")]
|
||||
#[cfg_attr(test, assert_instr(vpdpbuuds))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_dpbuuds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpbuuds_256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
}
|
||||
|
|
@ -724,7 +724,7 @@ pub fn _mm256_dpbuuds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint16")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwsud))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_dpwsud_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpwsud_128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
}
|
||||
|
|
@ -737,7 +737,7 @@ pub fn _mm_dpwsud_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint16")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwsud))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_dpwsud_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpwsud_256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
}
|
||||
|
|
@ -750,7 +750,7 @@ pub fn _mm256_dpwsud_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint16")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwsuds))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_dpwsuds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpwsuds_128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
}
|
||||
|
|
@ -763,7 +763,7 @@ pub fn _mm_dpwsuds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint16")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwsuds))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_dpwsuds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpwsuds_256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
}
|
||||
|
|
@ -776,7 +776,7 @@ pub fn _mm256_dpwsuds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint16")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwusd))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_dpwusd_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpwusd_128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
}
|
||||
|
|
@ -789,7 +789,7 @@ pub fn _mm_dpwusd_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint16")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwusd))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_dpwusd_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpwusd_256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
}
|
||||
|
|
@ -802,7 +802,7 @@ pub fn _mm256_dpwusd_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint16")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwusds))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_dpwusds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpwusds_128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
}
|
||||
|
|
@ -815,7 +815,7 @@ pub fn _mm_dpwusds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint16")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwusds))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_dpwusds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpwusds_256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
}
|
||||
|
|
@ -828,7 +828,7 @@ pub fn _mm256_dpwusds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint16")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwuud))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_dpwuud_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpwuud_128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
}
|
||||
|
|
@ -841,7 +841,7 @@ pub fn _mm_dpwuud_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint16")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwuud))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_dpwuud_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpwuud_256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
}
|
||||
|
|
@ -854,7 +854,7 @@ pub fn _mm256_dpwuud_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint16")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwuuds))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_dpwuuds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vpdpwuuds_128(src.as_i32x4(), a.as_i32x4(), b.as_i32x4())) }
|
||||
}
|
||||
|
|
@ -867,7 +867,7 @@ pub fn _mm_dpwuuds_epi32(src: __m128i, a: __m128i, b: __m128i) -> __m128i {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxvnniint16")]
|
||||
#[cfg_attr(test, assert_instr(vpdpwuuds))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_dpwuuds_epi32(src: __m256i, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vpdpwuuds_256(src.as_i32x8(), a.as_i32x8(), b.as_i32x8())) }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ use stdarch_test::assert_instr;
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_popcnt_epi32)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntd))]
|
||||
pub fn _mm512_popcnt_epi32(a: __m512i) -> __m512i {
|
||||
unsafe { transmute(simd_ctpop(a.as_i32x16())) }
|
||||
|
|
@ -38,7 +38,7 @@ pub fn _mm512_popcnt_epi32(a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_popcnt_epi32)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntd))]
|
||||
pub fn _mm512_maskz_popcnt_epi32(k: __mmask16, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -58,7 +58,7 @@ pub fn _mm512_maskz_popcnt_epi32(k: __mmask16, a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_popcnt_epi32)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntd))]
|
||||
pub fn _mm512_mask_popcnt_epi32(src: __m512i, k: __mmask16, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -75,7 +75,7 @@ pub fn _mm512_mask_popcnt_epi32(src: __m512i, k: __mmask16, a: __m512i) -> __m51
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_popcnt_epi32)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntd))]
|
||||
pub fn _mm256_popcnt_epi32(a: __m256i) -> __m256i {
|
||||
unsafe { transmute(simd_ctpop(a.as_i32x8())) }
|
||||
|
|
@ -89,7 +89,7 @@ pub fn _mm256_popcnt_epi32(a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_popcnt_epi32)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntd))]
|
||||
pub fn _mm256_maskz_popcnt_epi32(k: __mmask8, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -109,7 +109,7 @@ pub fn _mm256_maskz_popcnt_epi32(k: __mmask8, a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_popcnt_epi32)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntd))]
|
||||
pub fn _mm256_mask_popcnt_epi32(src: __m256i, k: __mmask8, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -126,7 +126,7 @@ pub fn _mm256_mask_popcnt_epi32(src: __m256i, k: __mmask8, a: __m256i) -> __m256
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_popcnt_epi32)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntd))]
|
||||
pub fn _mm_popcnt_epi32(a: __m128i) -> __m128i {
|
||||
unsafe { transmute(simd_ctpop(a.as_i32x4())) }
|
||||
|
|
@ -140,7 +140,7 @@ pub fn _mm_popcnt_epi32(a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_popcnt_epi32)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntd))]
|
||||
pub fn _mm_maskz_popcnt_epi32(k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -160,7 +160,7 @@ pub fn _mm_maskz_popcnt_epi32(k: __mmask8, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_popcnt_epi32)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntd))]
|
||||
pub fn _mm_mask_popcnt_epi32(src: __m128i, k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -177,7 +177,7 @@ pub fn _mm_mask_popcnt_epi32(src: __m128i, k: __mmask8, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_popcnt_epi64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntq))]
|
||||
pub fn _mm512_popcnt_epi64(a: __m512i) -> __m512i {
|
||||
unsafe { transmute(simd_ctpop(a.as_i64x8())) }
|
||||
|
|
@ -191,7 +191,7 @@ pub fn _mm512_popcnt_epi64(a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_popcnt_epi64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntq))]
|
||||
pub fn _mm512_maskz_popcnt_epi64(k: __mmask8, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -211,7 +211,7 @@ pub fn _mm512_maskz_popcnt_epi64(k: __mmask8, a: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_popcnt_epi64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntq))]
|
||||
pub fn _mm512_mask_popcnt_epi64(src: __m512i, k: __mmask8, a: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -228,7 +228,7 @@ pub fn _mm512_mask_popcnt_epi64(src: __m512i, k: __mmask8, a: __m512i) -> __m512
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_popcnt_epi64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntq))]
|
||||
pub fn _mm256_popcnt_epi64(a: __m256i) -> __m256i {
|
||||
unsafe { transmute(simd_ctpop(a.as_i64x4())) }
|
||||
|
|
@ -242,7 +242,7 @@ pub fn _mm256_popcnt_epi64(a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_popcnt_epi64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntq))]
|
||||
pub fn _mm256_maskz_popcnt_epi64(k: __mmask8, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -262,7 +262,7 @@ pub fn _mm256_maskz_popcnt_epi64(k: __mmask8, a: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_popcnt_epi64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntq))]
|
||||
pub fn _mm256_mask_popcnt_epi64(src: __m256i, k: __mmask8, a: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -279,7 +279,7 @@ pub fn _mm256_mask_popcnt_epi64(src: __m256i, k: __mmask8, a: __m256i) -> __m256
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_popcnt_epi64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntq))]
|
||||
pub fn _mm_popcnt_epi64(a: __m128i) -> __m128i {
|
||||
unsafe { transmute(simd_ctpop(a.as_i64x2())) }
|
||||
|
|
@ -293,7 +293,7 @@ pub fn _mm_popcnt_epi64(a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_popcnt_epi64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntq))]
|
||||
pub fn _mm_maskz_popcnt_epi64(k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -313,7 +313,7 @@ pub fn _mm_maskz_popcnt_epi64(k: __mmask8, a: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_popcnt_epi64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512vpopcntdq,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpopcntq))]
|
||||
pub fn _mm_mask_popcnt_epi64(src: __m128i, k: __mmask8, a: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ pub unsafe fn _mm256_bcstnesh_ps(a: *const f16) -> __m256 {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxneconvert")]
|
||||
#[cfg_attr(test, assert_instr(vcvtneebf162ps))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub unsafe fn _mm_cvtneebf16_ps(a: *const __m128bh) -> __m128 {
|
||||
transmute(cvtneebf162ps_128(a))
|
||||
}
|
||||
|
|
@ -75,7 +75,7 @@ pub unsafe fn _mm_cvtneebf16_ps(a: *const __m128bh) -> __m128 {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxneconvert")]
|
||||
#[cfg_attr(test, assert_instr(vcvtneebf162ps))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub unsafe fn _mm256_cvtneebf16_ps(a: *const __m256bh) -> __m256 {
|
||||
transmute(cvtneebf162ps_256(a))
|
||||
}
|
||||
|
|
@ -111,7 +111,7 @@ pub unsafe fn _mm256_cvtneeph_ps(a: *const __m256h) -> __m256 {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxneconvert")]
|
||||
#[cfg_attr(test, assert_instr(vcvtneobf162ps))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub unsafe fn _mm_cvtneobf16_ps(a: *const __m128bh) -> __m128 {
|
||||
transmute(cvtneobf162ps_128(a))
|
||||
}
|
||||
|
|
@ -123,7 +123,7 @@ pub unsafe fn _mm_cvtneobf16_ps(a: *const __m128bh) -> __m128 {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxneconvert")]
|
||||
#[cfg_attr(test, assert_instr(vcvtneobf162ps))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub unsafe fn _mm256_cvtneobf16_ps(a: *const __m256bh) -> __m256 {
|
||||
transmute(cvtneobf162ps_256(a))
|
||||
}
|
||||
|
|
@ -159,7 +159,7 @@ pub unsafe fn _mm256_cvtneoph_ps(a: *const __m256h) -> __m256 {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxneconvert")]
|
||||
#[cfg_attr(test, assert_instr(vcvtneps2bf16))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm_cvtneps_avx_pbh(a: __m128) -> __m128bh {
|
||||
unsafe {
|
||||
let mut dst: __m128bh;
|
||||
|
|
@ -180,7 +180,7 @@ pub fn _mm_cvtneps_avx_pbh(a: __m128) -> __m128bh {
|
|||
#[inline]
|
||||
#[target_feature(enable = "avxneconvert")]
|
||||
#[cfg_attr(test, assert_instr(vcvtneps2bf16))]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _mm256_cvtneps_avx_pbh(a: __m256) -> __m128bh {
|
||||
unsafe {
|
||||
let mut dst: __m128bh;
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ unsafe extern "C" {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_gf2p8mul_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8mulb))]
|
||||
pub fn _mm512_gf2p8mul_epi8(a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe { transmute(vgf2p8mulb_512(a.as_i8x64(), b.as_i8x64())) }
|
||||
|
|
@ -76,7 +76,7 @@ pub fn _mm512_gf2p8mul_epi8(a: __m512i, b: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_gf2p8mul_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8mulb))]
|
||||
pub fn _mm512_mask_gf2p8mul_epi8(src: __m512i, k: __mmask64, a: __m512i, b: __m512i) -> __m512i {
|
||||
unsafe {
|
||||
|
|
@ -98,7 +98,7 @@ pub fn _mm512_mask_gf2p8mul_epi8(src: __m512i, k: __mmask64, a: __m512i, b: __m5
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_gf2p8mul_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8mulb))]
|
||||
pub fn _mm512_maskz_gf2p8mul_epi8(k: __mmask64, a: __m512i, b: __m512i) -> __m512i {
|
||||
let zero = i8x64::ZERO;
|
||||
|
|
@ -118,7 +118,7 @@ pub fn _mm512_maskz_gf2p8mul_epi8(k: __mmask64, a: __m512i, b: __m512i) -> __m51
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_gf2p8mul_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8mulb))]
|
||||
pub fn _mm256_gf2p8mul_epi8(a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe { transmute(vgf2p8mulb_256(a.as_i8x32(), b.as_i8x32())) }
|
||||
|
|
@ -134,7 +134,7 @@ pub fn _mm256_gf2p8mul_epi8(a: __m256i, b: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_gf2p8mul_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8mulb))]
|
||||
pub fn _mm256_mask_gf2p8mul_epi8(src: __m256i, k: __mmask32, a: __m256i, b: __m256i) -> __m256i {
|
||||
unsafe {
|
||||
|
|
@ -156,7 +156,7 @@ pub fn _mm256_mask_gf2p8mul_epi8(src: __m256i, k: __mmask32, a: __m256i, b: __m2
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_gf2p8mul_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8mulb))]
|
||||
pub fn _mm256_maskz_gf2p8mul_epi8(k: __mmask32, a: __m256i, b: __m256i) -> __m256i {
|
||||
let zero = i8x32::ZERO;
|
||||
|
|
@ -176,7 +176,7 @@ pub fn _mm256_maskz_gf2p8mul_epi8(k: __mmask32, a: __m256i, b: __m256i) -> __m25
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_gf2p8mul_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(gf2p8mulb))]
|
||||
pub fn _mm_gf2p8mul_epi8(a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe { transmute(vgf2p8mulb_128(a.as_i8x16(), b.as_i8x16())) }
|
||||
|
|
@ -192,7 +192,7 @@ pub fn _mm_gf2p8mul_epi8(a: __m128i, b: __m128i) -> __m128i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_gf2p8mul_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8mulb))]
|
||||
pub fn _mm_mask_gf2p8mul_epi8(src: __m128i, k: __mmask16, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -214,7 +214,7 @@ pub fn _mm_mask_gf2p8mul_epi8(src: __m128i, k: __mmask16, a: __m128i, b: __m128i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_gf2p8mul_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8mulb))]
|
||||
pub fn _mm_maskz_gf2p8mul_epi8(k: __mmask16, a: __m128i, b: __m128i) -> __m128i {
|
||||
unsafe {
|
||||
|
|
@ -235,7 +235,7 @@ pub fn _mm_maskz_gf2p8mul_epi8(k: __mmask16, a: __m128i, b: __m128i) -> __m128i
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_gf2p8affine_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm512_gf2p8affine_epi64_epi8<const B: i32>(x: __m512i, a: __m512i) -> __m512i {
|
||||
|
|
@ -260,7 +260,7 @@ pub fn _mm512_gf2p8affine_epi64_epi8<const B: i32>(x: __m512i, a: __m512i) -> __
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_gf2p8affine_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(3)]
|
||||
pub fn _mm512_maskz_gf2p8affine_epi64_epi8<const B: i32>(
|
||||
|
|
@ -290,7 +290,7 @@ pub fn _mm512_maskz_gf2p8affine_epi64_epi8<const B: i32>(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_gf2p8affine_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(4)]
|
||||
pub fn _mm512_mask_gf2p8affine_epi64_epi8<const B: i32>(
|
||||
|
|
@ -317,7 +317,7 @@ pub fn _mm512_mask_gf2p8affine_epi64_epi8<const B: i32>(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_gf2p8affine_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm256_gf2p8affine_epi64_epi8<const B: i32>(x: __m256i, a: __m256i) -> __m256i {
|
||||
|
|
@ -342,7 +342,7 @@ pub fn _mm256_gf2p8affine_epi64_epi8<const B: i32>(x: __m256i, a: __m256i) -> __
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_gf2p8affine_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(3)]
|
||||
pub fn _mm256_maskz_gf2p8affine_epi64_epi8<const B: i32>(
|
||||
|
|
@ -372,7 +372,7 @@ pub fn _mm256_maskz_gf2p8affine_epi64_epi8<const B: i32>(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_gf2p8affine_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(4)]
|
||||
pub fn _mm256_mask_gf2p8affine_epi64_epi8<const B: i32>(
|
||||
|
|
@ -399,7 +399,7 @@ pub fn _mm256_mask_gf2p8affine_epi64_epi8<const B: i32>(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_gf2p8affine_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(gf2p8affineqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm_gf2p8affine_epi64_epi8<const B: i32>(x: __m128i, a: __m128i) -> __m128i {
|
||||
|
|
@ -424,7 +424,7 @@ pub fn _mm_gf2p8affine_epi64_epi8<const B: i32>(x: __m128i, a: __m128i) -> __m12
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_gf2p8affine_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(3)]
|
||||
pub fn _mm_maskz_gf2p8affine_epi64_epi8<const B: i32>(
|
||||
|
|
@ -454,7 +454,7 @@ pub fn _mm_maskz_gf2p8affine_epi64_epi8<const B: i32>(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_gf2p8affine_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(4)]
|
||||
pub fn _mm_mask_gf2p8affine_epi64_epi8<const B: i32>(
|
||||
|
|
@ -483,7 +483,7 @@ pub fn _mm_mask_gf2p8affine_epi64_epi8<const B: i32>(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_gf2p8affineinv_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineinvqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm512_gf2p8affineinv_epi64_epi8<const B: i32>(x: __m512i, a: __m512i) -> __m512i {
|
||||
|
|
@ -510,7 +510,7 @@ pub fn _mm512_gf2p8affineinv_epi64_epi8<const B: i32>(x: __m512i, a: __m512i) ->
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_maskz_gf2p8affineinv_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineinvqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(3)]
|
||||
pub fn _mm512_maskz_gf2p8affineinv_epi64_epi8<const B: i32>(
|
||||
|
|
@ -542,7 +542,7 @@ pub fn _mm512_maskz_gf2p8affineinv_epi64_epi8<const B: i32>(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_mask_gf2p8affineinv_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineinvqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(4)]
|
||||
pub fn _mm512_mask_gf2p8affineinv_epi64_epi8<const B: i32>(
|
||||
|
|
@ -571,7 +571,7 @@ pub fn _mm512_mask_gf2p8affineinv_epi64_epi8<const B: i32>(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_gf2p8affineinv_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineinvqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm256_gf2p8affineinv_epi64_epi8<const B: i32>(x: __m256i, a: __m256i) -> __m256i {
|
||||
|
|
@ -598,7 +598,7 @@ pub fn _mm256_gf2p8affineinv_epi64_epi8<const B: i32>(x: __m256i, a: __m256i) ->
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_maskz_gf2p8affineinv_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineinvqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(3)]
|
||||
pub fn _mm256_maskz_gf2p8affineinv_epi64_epi8<const B: i32>(
|
||||
|
|
@ -630,7 +630,7 @@ pub fn _mm256_maskz_gf2p8affineinv_epi64_epi8<const B: i32>(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_mask_gf2p8affineinv_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineinvqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(4)]
|
||||
pub fn _mm256_mask_gf2p8affineinv_epi64_epi8<const B: i32>(
|
||||
|
|
@ -659,7 +659,7 @@ pub fn _mm256_mask_gf2p8affineinv_epi64_epi8<const B: i32>(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_gf2p8affineinv_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(gf2p8affineinvqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm_gf2p8affineinv_epi64_epi8<const B: i32>(x: __m128i, a: __m128i) -> __m128i {
|
||||
|
|
@ -686,7 +686,7 @@ pub fn _mm_gf2p8affineinv_epi64_epi8<const B: i32>(x: __m128i, a: __m128i) -> __
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_maskz_gf2p8affineinv_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineinvqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(3)]
|
||||
pub fn _mm_maskz_gf2p8affineinv_epi64_epi8<const B: i32>(
|
||||
|
|
@ -718,7 +718,7 @@ pub fn _mm_maskz_gf2p8affineinv_epi64_epi8<const B: i32>(
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_mask_gf2p8affineinv_epi64_epi8)
|
||||
#[inline]
|
||||
#[target_feature(enable = "gfni,avx512bw,avx512vl")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vgf2p8affineinvqb, B = 0))]
|
||||
#[rustc_legacy_const_generics(4)]
|
||||
pub fn _mm_mask_gf2p8affineinv_epi64_epi8<const B: i32>(
|
||||
|
|
@ -881,7 +881,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[target_feature(enable = "sse2")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
unsafe fn load_m128i_word<T>(data: &[T], word_index: usize) -> __m128i {
|
||||
let byte_offset = word_index * 16 / size_of::<T>();
|
||||
let pointer = data.as_ptr().add(byte_offset) as *const __m128i;
|
||||
|
|
@ -889,7 +889,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[target_feature(enable = "avx")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
unsafe fn load_m256i_word<T>(data: &[T], word_index: usize) -> __m256i {
|
||||
let byte_offset = word_index * 32 / size_of::<T>();
|
||||
let pointer = data.as_ptr().add(byte_offset) as *const __m256i;
|
||||
|
|
@ -897,7 +897,7 @@ mod tests {
|
|||
}
|
||||
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
unsafe fn load_m512i_word<T>(data: &[T], word_index: usize) -> __m512i {
|
||||
let byte_offset = word_index * 64 / size_of::<T>();
|
||||
let pointer = data.as_ptr().add(byte_offset) as *const _;
|
||||
|
|
|
|||
|
|
@ -356,7 +356,7 @@ types! {
|
|||
}
|
||||
|
||||
types! {
|
||||
#![unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#![stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
|
||||
/// 128-bit wide set of eight `u16` types, x86-specific
|
||||
///
|
||||
|
|
@ -473,42 +473,42 @@ impl bf16 {
|
|||
|
||||
/// The `__mmask64` type used in AVX-512 intrinsics, a 64-bit integer
|
||||
#[allow(non_camel_case_types)]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub type __mmask64 = u64;
|
||||
|
||||
/// The `__mmask32` type used in AVX-512 intrinsics, a 32-bit integer
|
||||
#[allow(non_camel_case_types)]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub type __mmask32 = u32;
|
||||
|
||||
/// The `__mmask16` type used in AVX-512 intrinsics, a 16-bit integer
|
||||
#[allow(non_camel_case_types)]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub type __mmask16 = u16;
|
||||
|
||||
/// The `__mmask8` type used in AVX-512 intrinsics, a 8-bit integer
|
||||
#[allow(non_camel_case_types)]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub type __mmask8 = u8;
|
||||
|
||||
/// The `_MM_CMPINT_ENUM` type used to specify comparison operations in AVX-512 intrinsics.
|
||||
#[allow(non_camel_case_types)]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub type _MM_CMPINT_ENUM = i32;
|
||||
|
||||
/// The `MM_MANTISSA_NORM_ENUM` type used to specify mantissa normalized operations in AVX-512 intrinsics.
|
||||
#[allow(non_camel_case_types)]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub type _MM_MANTISSA_NORM_ENUM = i32;
|
||||
|
||||
/// The `MM_MANTISSA_SIGN_ENUM` type used to specify mantissa signed operations in AVX-512 intrinsics.
|
||||
#[allow(non_camel_case_types)]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub type _MM_MANTISSA_SIGN_ENUM = i32;
|
||||
|
||||
/// The `MM_PERM_ENUM` type used to specify shuffle operations in AVX-512 intrinsics.
|
||||
#[allow(non_camel_case_types)]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub type _MM_PERM_ENUM = i32;
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
@ -696,55 +696,55 @@ pub use self::adx::*;
|
|||
use stdarch_test::assert_instr;
|
||||
|
||||
mod avx512f;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512f::*;
|
||||
|
||||
mod avx512bw;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512bw::*;
|
||||
|
||||
mod avx512cd;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512cd::*;
|
||||
|
||||
mod avx512dq;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512dq::*;
|
||||
|
||||
mod avx512ifma;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512ifma::*;
|
||||
|
||||
mod avx512vbmi;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512vbmi::*;
|
||||
|
||||
mod avx512vbmi2;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512vbmi2::*;
|
||||
|
||||
mod avx512vnni;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512vnni::*;
|
||||
|
||||
mod avx512bitalg;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512bitalg::*;
|
||||
|
||||
mod gfni;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::gfni::*;
|
||||
|
||||
mod avx512vpopcntdq;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512vpopcntdq::*;
|
||||
|
||||
mod vaes;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::vaes::*;
|
||||
|
||||
mod vpclmulqdq;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::vpclmulqdq::*;
|
||||
|
||||
mod bt;
|
||||
|
|
@ -760,11 +760,11 @@ mod f16c;
|
|||
pub use self::f16c::*;
|
||||
|
||||
mod avx512bf16;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512bf16::*;
|
||||
|
||||
mod avxneconvert;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avxneconvert::*;
|
||||
|
||||
mod avx512fp16;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ unsafe extern "C" {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_aesenc_epi128)
|
||||
#[inline]
|
||||
#[target_feature(enable = "vaes")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vaesenc))]
|
||||
pub fn _mm256_aesenc_epi128(a: __m256i, round_key: __m256i) -> __m256i {
|
||||
unsafe { aesenc_256(a, round_key) }
|
||||
|
|
@ -51,7 +51,7 @@ pub fn _mm256_aesenc_epi128(a: __m256i, round_key: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_aesenclast_epi128)
|
||||
#[inline]
|
||||
#[target_feature(enable = "vaes")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vaesenclast))]
|
||||
pub fn _mm256_aesenclast_epi128(a: __m256i, round_key: __m256i) -> __m256i {
|
||||
unsafe { aesenclast_256(a, round_key) }
|
||||
|
|
@ -63,7 +63,7 @@ pub fn _mm256_aesenclast_epi128(a: __m256i, round_key: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_aesdec_epi128)
|
||||
#[inline]
|
||||
#[target_feature(enable = "vaes")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vaesdec))]
|
||||
pub fn _mm256_aesdec_epi128(a: __m256i, round_key: __m256i) -> __m256i {
|
||||
unsafe { aesdec_256(a, round_key) }
|
||||
|
|
@ -75,7 +75,7 @@ pub fn _mm256_aesdec_epi128(a: __m256i, round_key: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_aesdeclast_epi128)
|
||||
#[inline]
|
||||
#[target_feature(enable = "vaes")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vaesdeclast))]
|
||||
pub fn _mm256_aesdeclast_epi128(a: __m256i, round_key: __m256i) -> __m256i {
|
||||
unsafe { aesdeclast_256(a, round_key) }
|
||||
|
|
@ -87,7 +87,7 @@ pub fn _mm256_aesdeclast_epi128(a: __m256i, round_key: __m256i) -> __m256i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_aesenc_epi128)
|
||||
#[inline]
|
||||
#[target_feature(enable = "vaes,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vaesenc))]
|
||||
pub fn _mm512_aesenc_epi128(a: __m512i, round_key: __m512i) -> __m512i {
|
||||
unsafe { aesenc_512(a, round_key) }
|
||||
|
|
@ -99,7 +99,7 @@ pub fn _mm512_aesenc_epi128(a: __m512i, round_key: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_aesenclast_epi128)
|
||||
#[inline]
|
||||
#[target_feature(enable = "vaes,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vaesenclast))]
|
||||
pub fn _mm512_aesenclast_epi128(a: __m512i, round_key: __m512i) -> __m512i {
|
||||
unsafe { aesenclast_512(a, round_key) }
|
||||
|
|
@ -111,7 +111,7 @@ pub fn _mm512_aesenclast_epi128(a: __m512i, round_key: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_aesdec_epi128)
|
||||
#[inline]
|
||||
#[target_feature(enable = "vaes,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vaesdec))]
|
||||
pub fn _mm512_aesdec_epi128(a: __m512i, round_key: __m512i) -> __m512i {
|
||||
unsafe { aesdec_512(a, round_key) }
|
||||
|
|
@ -123,7 +123,7 @@ pub fn _mm512_aesdec_epi128(a: __m512i, round_key: __m512i) -> __m512i {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_aesdeclast_epi128)
|
||||
#[inline]
|
||||
#[target_feature(enable = "vaes,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vaesdeclast))]
|
||||
pub fn _mm512_aesdeclast_epi128(a: __m512i, round_key: __m512i) -> __m512i {
|
||||
unsafe { aesdeclast_512(a, round_key) }
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ unsafe extern "C" {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm512_clmulepi64_epi128)
|
||||
#[inline]
|
||||
#[target_feature(enable = "vpclmulqdq,avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
// technically according to Intel's documentation we don't need avx512f here, however LLVM gets confused otherwise
|
||||
#[cfg_attr(test, assert_instr(vpclmul, IMM8 = 0))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
|
|
@ -52,7 +52,7 @@ pub fn _mm512_clmulepi64_epi128<const IMM8: i32>(a: __m512i, b: __m512i) -> __m5
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm256_clmulepi64_epi128)
|
||||
#[inline]
|
||||
#[target_feature(enable = "vpclmulqdq")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vpclmul, IMM8 = 0))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm256_clmulepi64_epi128<const IMM8: i32>(a: __m256i, b: __m256i) -> __m256i {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ use crate::core_arch::x86::*;
|
|||
/// [Intel's Documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_cvtmask64_u64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bw")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _cvtmask64_u64(a: __mmask64) -> u64 {
|
||||
a
|
||||
}
|
||||
|
|
@ -15,7 +15,7 @@ pub fn _cvtmask64_u64(a: __mmask64) -> u64 {
|
|||
/// [Intel's Documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_cvtu64_mask64)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512bw")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub fn _cvtu64_mask64(a: u64) -> __mmask64 {
|
||||
a
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ use stdarch_test::assert_instr;
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtsd_i64&expand=1792)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtsd2si))]
|
||||
pub fn _mm_cvtsd_i64(a: __m128d) -> i64 {
|
||||
_mm_cvtsd_si64(a)
|
||||
|
|
@ -22,7 +22,7 @@ pub fn _mm_cvtsd_i64(a: __m128d) -> i64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtss_i64&expand=1894)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtss2si))]
|
||||
pub fn _mm_cvtss_i64(a: __m128) -> i64 {
|
||||
_mm_cvtss_si64(a)
|
||||
|
|
@ -33,7 +33,7 @@ pub fn _mm_cvtss_i64(a: __m128) -> i64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtss_u64&expand=1902)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtss2usi))]
|
||||
pub fn _mm_cvtss_u64(a: __m128) -> u64 {
|
||||
unsafe { vcvtss2usi64(a.as_f32x4(), _MM_FROUND_CUR_DIRECTION) }
|
||||
|
|
@ -44,7 +44,7 @@ pub fn _mm_cvtss_u64(a: __m128) -> u64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtsd_u64&expand=1800)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtsd2usi))]
|
||||
pub fn _mm_cvtsd_u64(a: __m128d) -> u64 {
|
||||
unsafe { vcvtsd2usi64(a.as_f64x2(), _MM_FROUND_CUR_DIRECTION) }
|
||||
|
|
@ -55,7 +55,7 @@ pub fn _mm_cvtsd_u64(a: __m128d) -> u64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=mm_cvti64_ss&expand=1643)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtsi2ss))]
|
||||
pub fn _mm_cvti64_ss(a: __m128, b: i64) -> __m128 {
|
||||
unsafe {
|
||||
|
|
@ -69,7 +69,7 @@ pub fn _mm_cvti64_ss(a: __m128, b: i64) -> __m128 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvti64_sd&expand=1644)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtsi2sd))]
|
||||
pub fn _mm_cvti64_sd(a: __m128d, b: i64) -> __m128d {
|
||||
unsafe {
|
||||
|
|
@ -83,7 +83,7 @@ pub fn _mm_cvti64_sd(a: __m128d, b: i64) -> __m128d {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtu64_ss&expand=2035)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtusi2ss))]
|
||||
pub fn _mm_cvtu64_ss(a: __m128, b: u64) -> __m128 {
|
||||
unsafe {
|
||||
|
|
@ -97,7 +97,7 @@ pub fn _mm_cvtu64_ss(a: __m128, b: u64) -> __m128 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtu64_sd&expand=2034)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtusi2sd))]
|
||||
pub fn _mm_cvtu64_sd(a: __m128d, b: u64) -> __m128d {
|
||||
unsafe {
|
||||
|
|
@ -111,7 +111,7 @@ pub fn _mm_cvtu64_sd(a: __m128d, b: u64) -> __m128d {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvttsd_i64&expand=2016)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvttsd2si))]
|
||||
pub fn _mm_cvttsd_i64(a: __m128d) -> i64 {
|
||||
unsafe { vcvttsd2si64(a.as_f64x2(), _MM_FROUND_CUR_DIRECTION) }
|
||||
|
|
@ -122,7 +122,7 @@ pub fn _mm_cvttsd_i64(a: __m128d) -> i64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvttsd_u64&expand=2021)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvttsd2usi))]
|
||||
pub fn _mm_cvttsd_u64(a: __m128d) -> u64 {
|
||||
unsafe { vcvttsd2usi64(a.as_f64x2(), _MM_FROUND_CUR_DIRECTION) }
|
||||
|
|
@ -133,7 +133,7 @@ pub fn _mm_cvttsd_u64(a: __m128d) -> u64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=#text=_mm_cvttss_i64&expand=2023)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvttss2si))]
|
||||
pub fn _mm_cvttss_i64(a: __m128) -> i64 {
|
||||
unsafe { vcvttss2si64(a.as_f32x4(), _MM_FROUND_CUR_DIRECTION) }
|
||||
|
|
@ -144,7 +144,7 @@ pub fn _mm_cvttss_i64(a: __m128) -> i64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvttss_u64&expand=2027)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvttss2usi))]
|
||||
pub fn _mm_cvttss_u64(a: __m128) -> u64 {
|
||||
unsafe { vcvttss2usi64(a.as_f32x4(), _MM_FROUND_CUR_DIRECTION) }
|
||||
|
|
@ -161,7 +161,7 @@ pub fn _mm_cvttss_u64(a: __m128) -> u64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvt_roundi64_sd&expand=1313)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtsi2sd, ROUNDING = 8))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm_cvt_roundi64_sd<const ROUNDING: i32>(a: __m128d, b: i64) -> __m128d {
|
||||
|
|
@ -184,7 +184,7 @@ pub fn _mm_cvt_roundi64_sd<const ROUNDING: i32>(a: __m128d, b: i64) -> __m128d {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvt_roundsi64_sd&expand=1367)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtsi2sd, ROUNDING = 8))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm_cvt_roundsi64_sd<const ROUNDING: i32>(a: __m128d, b: i64) -> __m128d {
|
||||
|
|
@ -207,7 +207,7 @@ pub fn _mm_cvt_roundsi64_sd<const ROUNDING: i32>(a: __m128d, b: i64) -> __m128d
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvt_roundi64_ss&expand=1314)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtsi2ss, ROUNDING = 8))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm_cvt_roundi64_ss<const ROUNDING: i32>(a: __m128, b: i64) -> __m128 {
|
||||
|
|
@ -230,7 +230,7 @@ pub fn _mm_cvt_roundi64_ss<const ROUNDING: i32>(a: __m128, b: i64) -> __m128 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvt_roundu64_sd&expand=1379)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtusi2sd, ROUNDING = 8))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm_cvt_roundu64_sd<const ROUNDING: i32>(a: __m128d, b: u64) -> __m128d {
|
||||
|
|
@ -253,7 +253,7 @@ pub fn _mm_cvt_roundu64_sd<const ROUNDING: i32>(a: __m128d, b: u64) -> __m128d {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvt_roundsi64_ss&expand=1368)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtsi2ss, ROUNDING = 8))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm_cvt_roundsi64_ss<const ROUNDING: i32>(a: __m128, b: i64) -> __m128 {
|
||||
|
|
@ -276,7 +276,7 @@ pub fn _mm_cvt_roundsi64_ss<const ROUNDING: i32>(a: __m128, b: i64) -> __m128 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvt_roundu64_ss&expand=1380)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtusi2ss, ROUNDING = 8))]
|
||||
#[rustc_legacy_const_generics(2)]
|
||||
pub fn _mm_cvt_roundu64_ss<const ROUNDING: i32>(a: __m128, b: u64) -> __m128 {
|
||||
|
|
@ -299,7 +299,7 @@ pub fn _mm_cvt_roundu64_ss<const ROUNDING: i32>(a: __m128, b: u64) -> __m128 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvt_roundsd_si64&expand=1360)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtsd2si, ROUNDING = 8))]
|
||||
#[rustc_legacy_const_generics(1)]
|
||||
pub fn _mm_cvt_roundsd_si64<const ROUNDING: i32>(a: __m128d) -> i64 {
|
||||
|
|
@ -321,7 +321,7 @@ pub fn _mm_cvt_roundsd_si64<const ROUNDING: i32>(a: __m128d) -> i64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvt_roundsd_i64&expand=1358)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtsd2si, ROUNDING = 8))]
|
||||
#[rustc_legacy_const_generics(1)]
|
||||
pub fn _mm_cvt_roundsd_i64<const ROUNDING: i32>(a: __m128d) -> i64 {
|
||||
|
|
@ -343,7 +343,7 @@ pub fn _mm_cvt_roundsd_i64<const ROUNDING: i32>(a: __m128d) -> i64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvt_roundsd_u64&expand=1365)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtsd2usi, ROUNDING = 8))]
|
||||
#[rustc_legacy_const_generics(1)]
|
||||
pub fn _mm_cvt_roundsd_u64<const ROUNDING: i32>(a: __m128d) -> u64 {
|
||||
|
|
@ -365,7 +365,7 @@ pub fn _mm_cvt_roundsd_u64<const ROUNDING: i32>(a: __m128d) -> u64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvt_roundss_si64&expand=1375)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtss2si, ROUNDING = 8))]
|
||||
#[rustc_legacy_const_generics(1)]
|
||||
pub fn _mm_cvt_roundss_si64<const ROUNDING: i32>(a: __m128) -> i64 {
|
||||
|
|
@ -387,7 +387,7 @@ pub fn _mm_cvt_roundss_si64<const ROUNDING: i32>(a: __m128) -> i64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvt_roundss_i64&expand=1370)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtss2si, ROUNDING = 8))]
|
||||
#[rustc_legacy_const_generics(1)]
|
||||
pub fn _mm_cvt_roundss_i64<const ROUNDING: i32>(a: __m128) -> i64 {
|
||||
|
|
@ -409,7 +409,7 @@ pub fn _mm_cvt_roundss_i64<const ROUNDING: i32>(a: __m128) -> i64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvt_roundss_u64&expand=1377)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvtss2usi, ROUNDING = 8))]
|
||||
#[rustc_legacy_const_generics(1)]
|
||||
pub fn _mm_cvt_roundss_u64<const ROUNDING: i32>(a: __m128) -> u64 {
|
||||
|
|
@ -426,7 +426,7 @@ pub fn _mm_cvt_roundss_u64<const ROUNDING: i32>(a: __m128) -> u64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtt_roundsd_si64&expand=1931)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvttsd2si, SAE = 8))]
|
||||
#[rustc_legacy_const_generics(1)]
|
||||
pub fn _mm_cvtt_roundsd_si64<const SAE: i32>(a: __m128d) -> i64 {
|
||||
|
|
@ -443,7 +443,7 @@ pub fn _mm_cvtt_roundsd_si64<const SAE: i32>(a: __m128d) -> i64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtt_roundsd_i64&expand=1929)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvttsd2si, SAE = 8))]
|
||||
#[rustc_legacy_const_generics(1)]
|
||||
pub fn _mm_cvtt_roundsd_i64<const SAE: i32>(a: __m128d) -> i64 {
|
||||
|
|
@ -460,7 +460,7 @@ pub fn _mm_cvtt_roundsd_i64<const SAE: i32>(a: __m128d) -> i64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtt_roundsd_u64&expand=1933)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvttsd2usi, SAE = 8))]
|
||||
#[rustc_legacy_const_generics(1)]
|
||||
pub fn _mm_cvtt_roundsd_u64<const SAE: i32>(a: __m128d) -> u64 {
|
||||
|
|
@ -477,7 +477,7 @@ pub fn _mm_cvtt_roundsd_u64<const SAE: i32>(a: __m128d) -> u64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtt_roundss_i64&expand=1935)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvttss2si, SAE = 8))]
|
||||
#[rustc_legacy_const_generics(1)]
|
||||
pub fn _mm_cvtt_roundss_i64<const SAE: i32>(a: __m128) -> i64 {
|
||||
|
|
@ -494,7 +494,7 @@ pub fn _mm_cvtt_roundss_i64<const SAE: i32>(a: __m128) -> i64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtt_roundss_si64&expand=1937)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvttss2si, SAE = 8))]
|
||||
#[rustc_legacy_const_generics(1)]
|
||||
pub fn _mm_cvtt_roundss_si64<const SAE: i32>(a: __m128) -> i64 {
|
||||
|
|
@ -511,7 +511,7 @@ pub fn _mm_cvtt_roundss_si64<const SAE: i32>(a: __m128) -> i64 {
|
|||
/// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_cvtt_roundss_u64&expand=1939)
|
||||
#[inline]
|
||||
#[target_feature(enable = "avx512f")]
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
#[cfg_attr(test, assert_instr(vcvttss2usi, SAE = 8))]
|
||||
#[rustc_legacy_const_generics(1)]
|
||||
pub fn _mm_cvtt_roundss_u64<const SAE: i32>(a: __m128) -> u64 {
|
||||
|
|
|
|||
|
|
@ -47,11 +47,11 @@ mod tbm;
|
|||
pub use self::tbm::*;
|
||||
|
||||
mod avx512f;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512f::*;
|
||||
|
||||
mod avx512bw;
|
||||
#[unstable(feature = "stdarch_x86_avx512", issue = "111137")]
|
||||
#[stable(feature = "stdarch_x86_avx512", since = "1.89")]
|
||||
pub use self::avx512bw::*;
|
||||
|
||||
mod bswap;
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@
|
|||
//! each move.
|
||||
|
||||
#![allow(internal_features)]
|
||||
#![cfg_attr(target_arch = "x86", feature(stdarch_x86_avx512, stdarch_internal))]
|
||||
#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512, stdarch_internal))]
|
||||
#![cfg_attr(target_arch = "x86", feature(stdarch_internal))]
|
||||
#![cfg_attr(target_arch = "x86_64", feature(stdarch_internal))]
|
||||
#![feature(stmt_expr_attributes)]
|
||||
|
||||
use rand::seq::SliceRandom;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue