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

Function avx2_and

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

Source from the content-addressed store, hash-verified

154
155#[cfg(target_arch = "x86_64")]
156fn avx2_and(a: &[u64], b: &[u64], out: &mut [u64]) {
157 if a.len().min(b.len()) < 8 {
158 return scalar_and(a, b, out);
159 }
160 unsafe { avx2_and_inner(a, b, out) }
161}
162
163#[cfg(target_arch = "x86_64")]
164#[target_feature(enable = "avx2")]

Callers

nothing calls this directly

Calls 3

scalar_andFunction · 0.85
avx2_and_innerFunction · 0.85
lenMethod · 0.45

Tested by

no test coverage detected