Skip to content

Commit 01102d7

Browse files
author
Daniel Smith
committed
Fix instruction assert
1 parent 72959dd commit 01102d7

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
@@ -92,7 +92,7 @@ pub unsafe fn _mm512_setr_epi32(
9292
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_i32gather_epi64)
9393
#[inline]
9494
#[target_feature(enable = "avx512f")]
95-
#[cfg_attr(test, assert_instr(vpgatherdq))]
95+
#[cfg_attr(test, assert_instr(vpgatherdq, scale = 1))]
9696
pub unsafe fn _mm512_i32gather_epi64(offsets: __m256i, slice: *const u8, scale: i32) -> __m512i {
9797
let zero = _mm512_setzero_si512().as_i64x8();
9898
let neg_one = -1;

0 commit comments

Comments
 (0)