We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5725cf5 commit f6ea651Copy full SHA for f6ea651
crates/vsimd/src/simd128.rs
@@ -1818,12 +1818,15 @@ mod tests {
1818
fn u8x16_any_zero() {
1819
fn test(a: [u8; 16], expected: bool) {
1820
let a = V128::from_bytes(a);
1821
+ #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
1822
if let Some(s) = SSE41::detect() {
1823
assert_eq!(s.u8x16_any_zero(a), expected);
1824
}
1825
+ #[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
1826
if let Some(s) = NEON::detect() {
1827
1828
1829
+ #[cfg(target_arch = "wasm32")]
1830
if let Some(s) = WASM128::detect() {
1831
1832
0 commit comments