Skip to content

Commit

Permalink
neon failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
chengsun committed May 29, 2022
1 parent 3886f3a commit 410a50f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/structural.rs
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,21 @@ mod tests {
}
assert_eq!(output, expected_output);
}

#[cfg(target_arch = "aarch64")]
{
let mut neon = Neon::new().unwrap();
let mut output: Vec<bool> = Vec::new();
for input in [&input_1[..], &input_2.0[..]] {
neon.structural_indices_bitmask(&input[..], |bitmask, bitmask_len| {
for i in 0..bitmask_len {
output.push(bitmask & (1 << i) != 0);
}
CallbackResult::Finish
});
}
assert_eq!(output, expected_output);
}
}

#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
Expand Down

0 comments on commit 410a50f

Please sign in to comment.