Skip to content

Commit e49234b

Browse files
committed
correct vpdpbusd asserts in miri
in a24022a we changed the argument types to be more accurate, and now the miri asserts on the simd type/size need to reflect that
1 parent 8155209 commit e49234b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/tools/miri/src/shims/x86/avx512.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@ fn vpdpbusd<'tcx>(
188188
let (b, b_len) = ecx.project_to_simd(b)?;
189189
let (dest, dest_len) = ecx.project_to_simd(dest)?;
190190

191-
// fn vpdpbusd(src: i32x16, a: i32x16, b: i32x16) -> i32x16;
192-
// fn vpdpbusd256(src: i32x8, a: i32x8, b: i32x8) -> i32x8;
193-
// fn vpdpbusd128(src: i32x4, a: i32x4, b: i32x4) -> i32x4;
191+
// fn vpdpbusd(src: i32x16, a: u8x64, b: i8x64) -> i32x16;
192+
// fn vpdpbusd256(src: i32x8, a: u8x32, b: i8x32) -> i32x8;
193+
// fn vpdpbusd128(src: i32x4, a: u8x16, b: i8x16) -> i32x4;
194194
assert_eq!(dest_len, src_len);
195-
assert_eq!(dest_len, a_len);
196-
assert_eq!(dest_len, b_len);
195+
assert_eq!(a_len, dest_len / 4);
196+
assert_eq!(a_len, b_len);
197197

198198
for i in 0..dest_len {
199199
let src = ecx.read_scalar(&ecx.project_index(&src, i)?)?.to_i32()?;

0 commit comments

Comments
 (0)