speexdsp-rs icon indicating copy to clipboard operation
speexdsp-rs copied to clipboard

Implement avx-512 optimizations for resampler

Open Luni-4 opened this issue 4 years ago • 7 comments

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

Luni-4 avatar May 26 '20 16:05 Luni-4

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

khodzha avatar Jun 14 '20 18:06 khodzha

I do.

lu-zero avatar Jun 14 '20 18:06 lu-zero

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

khodzha avatar Jun 14 '20 18:06 khodzha

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

lu-zero avatar Jun 14 '20 18:06 lu-zero

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 avatar Jun 28 '20 08:06 khodzha

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:

khodzha avatar Jul 08 '20 14:07 khodzha

@khodzha

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

Luni-4 avatar Jul 08 '20 22:07 Luni-4