Skip to content

Commit

Permalink
Fix with u64
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Dec 4, 2023
1 parent cdf13e8 commit 6207f88
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions library/kani/src/models/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,11 @@ mod test {
/// Compare the value returned by our model and the portable simd representation.
fn check_portable_bitmask<T, E, const LANES: usize>(mask: T)
where
T: ToBitMask + Clone,
T::BitMask: Debug + PartialEq,
E: kani_intrinsic::MaskElement,
[u8; kani_intrinsic::mask_len(LANES)]: Sized,
{
assert_eq!(
unsafe { kani_intrinsic::simd_bitmask::<_, T::BitMask, E, LANES>(mask.clone()) },
unsafe { kani_intrinsic::simd_bitmask::<_, u64, E, LANES>(mask.clone()) },
mask.to_bitmask()
);
}
Expand Down

0 comments on commit 6207f88

Please sign in to comment.