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
{{ message }}
Repository navigation
AVX-512 scoring path (next SIMD lever after AVX2) #27
Runtime detection order: AVX-512 (checked features subset — e.g. avx512f, avx512vl, avx512bw, avx512cd for vgatherdps zmm) → AVX2 → scalar. Same fixed association order; bit-identity tests vs scalar mandatory.
Caution: AVX-512 downclocking on some server CPUs — measure; the win may be smaller than AVX2's. Decide by benchmark, not by default.
Still a valid idea for x86_64 server deployments, but two facts lower its priority:
Target hardware: vecq's thesis is edge/mobile = aarch64, where AVX-512 is irrelevant. The aarch64 NEON paths are the tuned ones.
Cannot be validated on the maintainer's current host (aarch64 only). The repo's bar for SIMD code is bitwise parity tests plus measured benchmarks on real hardware (merge gate). Shipping an AVX-512 kernel that was only compile-checked would violate that bar — the x86_64 4-bit path stays on the AVX2 kernel, which is bit-identical and well-measured.
If anyone picks this up: scope is the 4-bit path (score_avx2/score_avx24 → 512-bit equivalents, zmm LUT gather via vpermi2b-style table ops), runtime-detected on top of the existing is_x86__feature_detected! gate, with the same fixed association order. The 5/6-bit wide path is NOT the place to start — it is extraction-bound on any SIMD width (see #40 ceiling analysis) until split-layout codes exist.
Closing as not-planned for now (re-scoped in the comment above): valid future lever for x86_64 server deployments, but (1) vecq's target is aarch64 edge where it is irrelevant, and (2) the repo's bar — bitwise parity + measured benchmarks on real hardware — cannot be met from the current aarch64-only maintainer host. The comment documents the exact scope (4-bit zmm path, runtime detection, fixed association order) for any contributor with AVX-512 hardware. Reopen with benchmarks when that hardware shows up.
Activity
ajianaz commentedon Aug 29, 2026
Re-scope + honest status
Still a valid idea for x86_64 server deployments, but two facts lower its priority:
If anyone picks this up: scope is the 4-bit path (
score_avx2/score_avx24→ 512-bit equivalents, zmm LUT gather viavpermi2b-style table ops), runtime-detected on top of the existingis_x86__feature_detected!gate, with the same fixed association order. The 5/6-bit wide path is NOT the place to start — it is extraction-bound on any SIMD width (see #40 ceiling analysis) until split-layout codes exist.ajianaz commentedon Aug 29, 2026
Closing as not-planned for now (re-scoped in the comment above): valid future lever for x86_64 server deployments, but (1) vecq's target is aarch64 edge where it is irrelevant, and (2) the repo's bar — bitwise parity + measured benchmarks on real hardware — cannot be met from the current aarch64-only maintainer host. The comment documents the exact scope (4-bit zmm path, runtime detection, fixed association order) for any contributor with AVX-512 hardware. Reopen with benchmarks when that hardware shows up.