[x264-devel] [PATCH 2/3] RFC: checkasm: Warn if a better SIMD function is slower than the simpler one

Henrik Gramner henrik at gramner.com
Thu Aug 13 23:18:21 CEST 2015


On Thu, Aug 13, 2015 at 11:00 PM, Martin Storsjö <martin at martin.st> wrote:
> ---
> This naively assumes that a later tested SIMD function is supposed
> to be better than the earlier ones - this probably doesn't
> hold for all x86 SIMD flags.

This would most likely result in a huge amount of false positives.
There are plenty of AVX functions for example that are neither slower
nor faster than non-AVX functions on many CPUs which would often
trigger the warning since the cycle counter can drift a bit from run
to run for multiple reasons.


More information about the x264-devel mailing list