perf(hle): AVX2+FMA register-tiled DSP convolution and FFT butterfly #22
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ToLIManl--VIctory-Hydra!22
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/22/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@justadudeinbulgaria on GitHub · 2026-11-30 23:19 UTC · original
justadudeinbulgaria:pr/avx2-dsp-convolve→main· +234 −12 · 1 files · 1 commits · closed without mergingSummary
Accelerates partitioned FFT audio convolution in
crates/victory-hle/src/modules/dsp/convolve.rsusing runtime-checked AVX2+FMA (is_x86_feature_detected!("avx2") && is_x86_feature_detected!("fma")) with automatic scalar fallback:cmac_tiled_avx2keeping 32 frequency bins in 4 pairs of YMM accumulators across all active partitions so output buffers are stored once instead of reloaded/written per partition.fft_stage_avx2) for large stages.Verification
cargo test --release -p victory-hle --lib convolve::(2/2 passed:a_silent_ring_gives_silence,matches_a_direct_convolution_across_blocks).Accelerate partitioned FFT audio convolution in victory-hle/src/modules/dsp/convolve.rs using runtime-detected AVX2+FMA (is_x86_feature_detected!("avx2") && is_x86_feature_detected!("fma")) with automatic scalar fallback: register-tiled cmac_tiled_avx2 (32 bins per tile in YMM accumulators), silent ring-slot skipping, and vectorized fft_stage_avx2 radix-2 butterflies.@ToLIManl on GitHub · 2026-12-01 00:48 UTC · original
Integrated into \main\ in commit \
64f4cb9\ (with \Co-authored-by\ attribution).Verified via \ictory-hle\ release tests (\modules::dsp::convolve::\ \2 passed; 0 failed).
Pull request closed