Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ avx2_trampoline
Function
avx2_trampoline
nodedb-codec/src/vector_quant/hamming.rs:99–101 ·
view source on GitHub ↗
(a: &[u8], b: &[u8])
Source
from the content-addressed store, hash-verified
97
98
#[cfg(target_arch =
"x86_64"
)]
99
fn avx2_trampoline(a: &[u8], b: &[u8]) -> u32 {
100
unsafe { avx2(a, b) }
101
}
102
103
#[cfg(target_arch =
"aarch64"
)]
104
fn neon(a: &[u8], b: &[u8]) -> u32 {
Callers
nothing calls this directly
Calls
1
avx2
Function · 0.85
Tested by
no test coverage detected