Skip to content

Commit 553fdab

Browse files
hdevalencegnzlbg
authored andcommitted
Fix incorrect assert_instr tests.
1 parent 561922d commit 553fdab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/core_arch/src/x86/avx512ifma.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub unsafe fn _mm512_madd52hi_epu64(a: __m512i, b: __m512i, c: __m512i) -> __m51
2626
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=3497&avx512techs=AVX512IFMA52)
2727
#[inline]
2828
#[target_feature(enable = "avx512ifma")]
29-
#[cfg_attr(test, assert_instr(vpmadd52huq))]
29+
#[cfg_attr(test, assert_instr(vpmadd52luq))]
3030
pub unsafe fn _mm512_madd52lo_epu64(a: __m512i, b: __m512i, c: __m512i) -> __m512i {
3131
vpmadd52luq_512(a, b, c)
3232
}
@@ -54,7 +54,7 @@ pub unsafe fn _mm256_madd52hi_epu64(a: __m256i, b: __m256i, c: __m256i) -> __m25
5454
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=vpmadd52&avx512techs=AVX512IFMA52,AVX512VL&expand=3494)
5555
#[inline]
5656
#[target_feature(enable = "avx512ifma,avx512vl")]
57-
#[cfg_attr(test, assert_instr(vpmadd52huq))]
57+
#[cfg_attr(test, assert_instr(vpmadd52luq))]
5858
pub unsafe fn _mm256_madd52lo_epu64(a: __m256i, b: __m256i, c: __m256i) -> __m256i {
5959
vpmadd52luq_256(a, b, c)
6060
}
@@ -82,7 +82,7 @@ pub unsafe fn _mm_madd52hi_epu64(a: __m128i, b: __m128i, c: __m128i) -> __m128i
8282
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=3488,3491&text=vpmadd52&avx512techs=AVX512IFMA52,AVX512VL)
8383
#[inline]
8484
#[target_feature(enable = "avx512ifma,avx512vl")]
85-
#[cfg_attr(test, assert_instr(vpmadd52huq))]
85+
#[cfg_attr(test, assert_instr(vpmadd52luq))]
8686
pub unsafe fn _mm_madd52lo_epu64(a: __m128i, b: __m128i, c: __m128i) -> __m128i {
8787
vpmadd52luq_128(a, b, c)
8888
}

0 commit comments

Comments
 (0)