3 ms·
Indeed. The code is a disappointment. The various AVX.c versions don't use any AVX instructions. That is deceptive.
by user5994461 10y ago
Indeed. The code is a disappointment.
The various AVX.c versions don't use any AVX instructions. That is deceptive.
- nayuki 10y agoSorry about that naming confusion. As the description says: fft-x8664-avx.s: FFT core implementation for x86-64 AVX fft-x8664-avx-aux.c: Auxiliary FFT functions for x86-64 AVX fft-model-of-x8664-avx.c: C code illustrating how the x86-64 AVX code works
- user5994461 10y agoI understood what the programs are. I am complaining that you don't have a C program using the AVX instructions (in C). All the AVX functions are directly accessible from C (see: intrinsics). For a valid comparison, I would expect a C program using AVX instructions against an assembly program using AVX. Your comparison has C-without-AVX against ASM-with-AVX. Of course, it's faster with AVX ;)