You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove compile-time SIMD gates, delegate all dispatch to rustynum
All SIMD dispatch is now handled by rustynum-core at runtime via CPUID
detection (AVX-512 VPOPCNTDQ -> AVX2 Harley-Seal -> scalar POPCNT).
One binary, all CPUs, no compile-time #[cfg(target_feature)] gates.
Changes:
- avx_engine.rs: Remove inline AVX-512 intrinsics (hamming_distance_avx512,
xor_avx512, batch_hamming_8), replace with rustynum_accel::slice_hamming().
Remove all #[cfg(target_feature = "avx512f")] gates from query(),
batch_query(), batched_query(). Graph logic and tests unchanged.
- simd.rs: Remove dead SIMD implementations (hamming_avx512, hamming_avx2,
hamming_neon). Keep thin wrapper delegating to rustynum.
- hdr_cascade.rs: Remove dead mod simd block (AVX-512 hamming_distance_avx512,
batch_hamming_8 — never referenced). hamming_distance() already delegates
to rustynum_accel::slice_hamming().
- scent.rs: Remove dead mod simd block (AVX2 find_chunks_simd TODO stub —
never referenced).
- Add rust-toolchain.toml: channel = "stable" (Rust 1.93+)
Net: -417 lines of duplicated/dead SIMD code, +68 lines of clean delegation.
https://claude.ai/code/session_0152b2NJYnjCJjvMAmgsTx3p
0 commit comments