rust-av / speexdsp-rs

Speexdsp bindings and pure-rust implementation
MIT License
20 stars 14 forks source link

Implement avx-512 optimizations for resampler #86

Open Luni-4 opened 4 years ago

Luni-4 commented 4 years ago

It would be useful to add avx-512 optimizations for the resampler in an independent file

khodzha commented 4 years ago

@Luni-4 do you have hardware capable of running avx512?

lu-zero commented 4 years ago

I do.

khodzha commented 4 years ago

i can take a shot at this but i have no cpu to test this :shrug:

lu-zero commented 4 years ago

I can test for you, the machine is really noisy so I cannot keep it up all the time

khodzha commented 4 years ago

so far avx512 is in experimental state and some basic intrinsics arent in core::arch::x86_64 platform module (for example loadu_ps and setzero_ps)

khodzha commented 4 years ago

just found https://github.com/rust-lang/stdarch/blob/a3710694f94f13758799996e981dd2cc1069a514/crates/core_arch/src/x86_64/avx512f.rs#L91-L93 it seems just the docs are outdated :relieved:

UPD: oh, there is no _mm512_loadu_ps :cry:

Luni-4 commented 4 years ago

@khodzha

I guess we just wait for avx-512 to be stabilized then