On Sat, 8 Mar 2025, Niklas Haas wrote:

What are the thoughts on the float-first approach?

In general, for modern architectures, relying on floats probably is reasonable. (On architectures that aren't of quite as widespread interest, it might not be so clear cut though.)

However with the benchmark example you provided a couple of weeks ago, we concluded that even on x86 on modern HW, floats were faster than int16 only in one case: When using Clang, not GCC, and when compiling with -mavx2, not without it. In all the other cases, int16 was faster than float.

After doing those benchmarks, my understanding was that you concluded that we probably need to keep int16 based codepaths still, then.

Did something fundamental come up since we did these benchmarks that changed your conclusion?

// Martin

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to