mirror of https://github.com/FFmpeg/FFmpeg.git
When called inside a loop, the inline asm version results in one pxor unnecessarely emitted per iteration, as the contents of the __asm__() block are opaque to the compiler's instruction scheduler. This is not the case with intrinsics, where pxor will be emitted once with any half decent compiler. This also has the benefit of removing any SSE -> AVX penalty that may happen when the compiler emits VEX encoded instructions. Signed-off-by: James Almer <jamrial@gmail.com>release/7.1
parent
34b4ca8696
commit
4a04cca69a
2 changed files with 10 additions and 8 deletions
Loading…
Reference in new issue