// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//! Per-arch SIMD hamming kernels for the sign-sketch candidate scan.
//!
//! Layout mirrors `codec/qam_lloyd_max/simd/` (the reference shape — see the
//! "Per-arch SIMD" rule in `SKILL.md`): each architecture's kernel lives in a sibling
//! file named purely by arch (`aarch64.rs`, `x86_64.rs`); the `simd/`
//! directory already namespaces them, so the kernel *functions* keep
//! their descriptive `hamming_*` names while the *files* do not repeat it.
//!
//! The `#[cfg(target_arch …)]` dispatch (`hamming`, `scan_candidates`)
//! and the bench re-exposure live in the parent `sketch.rs`. The x86_64
//! parity tests live in `simd/x86_64_tests.rs` but are declared as a
//! child of `sketch` via `#[path]` so they keep reaching `hamming_scalar`.
pub
pub
// x86_64 kernel parity tests live beside the kernel they exercise. Declared
// here (not in `sketch.rs`) so the file path matches the module nesting
// without a `#[path]` override; the tests reach `hamming_scalar` via
// `super::super` (the parent `sketch` module).