(branching off discussion from https://forums.parallax.com/discussion/comment/1533281 to discuss p2llvm performance)
I ran fftbench.c from https://github.com/ZiCog/fftbench/blob/master/fftbench.c and got the following results:
fft_bench v1.2 OpenMP not available on this system Freq. Magnitude 00000000 000001fe 000000c0 000001ff 00000140 000001ff 00000200 000001ff 1024 point bit-reversal and butterfly run time = 14531 us
Run at 180MHz. Total code size is 20828 bytes, actual fftbench.c is 1868 bytes (the rest is library code)
Comparing to the results from here, performance seems pretty good. Are there other benchmarks people would want to see?
/opt/p2llvm/bin/clang --target=p2 -Dprintf=__simple_printf -Oz -o fftbench.elf fftbench.c
I made minor tweaks to fftbench.c for starting up the code/printing (specific to p2llvm), attached.