MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / avx512_and

Function avx512_and

nodedb/src/engine/timeseries/bitmap_simd.rs:98–103  ·  view source on GitHub ↗
(a: &[u64], b: &[u64], out: &mut [u64])

Source from the content-addressed store, hash-verified

96
97#[cfg(target_arch = "x86_64")]
98fn avx512_and(a: &[u64], b: &[u64], out: &mut [u64]) {
99 if a.len().min(b.len()) < 16 {
100 return scalar_and(a, b, out);
101 }
102 unsafe { avx512_and_inner(a, b, out) }
103}
104
105#[cfg(target_arch = "x86_64")]
106#[target_feature(enable = "avx512f")]

Callers

nothing calls this directly

Calls 3

scalar_andFunction · 0.85
avx512_and_innerFunction · 0.85
lenMethod · 0.45

Tested by

no test coverage detected