Skip to content

Commit 860b4bb

Browse files
committed
fix
1 parent 4931bbd commit 860b4bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/tools/miri/tests/pass/shims/x86/intrinsics-x86-gfni.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ unsafe fn load_m256i_word<T>(data: &[T], word_index: usize) -> __m256i {
368368
#[target_feature(enable = "avx512f")]
369369
unsafe fn load_m512i_word<T>(data: &[T], word_index: usize) -> __m512i {
370370
let byte_offset = word_index * 64 / size_of::<T>();
371-
let pointer = data.as_ptr().add(byte_offset) as *const i32;
371+
let pointer = data.as_ptr().add(byte_offset) as *const __m512i;
372372
_mm512_loadu_si512(black_box(pointer))
373373
}
374374

0 commit comments

Comments
 (0)