Skip to content

Commit aaa99b1

Browse files
Daniel SmithAmanieu
authored andcommitted
Only check for the instruction prefix since MSVC and Clang use different instructions
1 parent a33cc5a commit aaa99b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core_arch/src/x86/avx512f.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ pub unsafe fn _mm512_set1_epi64(a: i64) -> __m512i {
9999
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=727,1063,4909,1062,1062&text=_mm512_cmplt_epu64)
100100
#[inline]
101101
#[target_feature(enable = "avx512f")]
102-
#[cfg_attr(test, assert_instr(vpcmpltuq))]
102+
#[cfg_attr(test, assert_instr(vpcmp))]
103103
pub unsafe fn _mm512_cmplt_epu64_mask(a: __m512i, b: __m512i) -> __mmask8 {
104104
simd_bitmask::<__m512i, _>(simd_lt(a.as_u64x8(), b.as_u64x8()))
105105
}

0 commit comments

Comments
 (0)