[FFmpeg-devel] [PATCH] swr: rewrite resample_common/linear_float_sse/avx in yasm.

Michael Niedermayer michaelni at gmx.at
Sat Jun 28 17:36:45 CEST 2014


On Sat, Jun 28, 2014 at 11:05:52AM -0400, Ronald S. Bultje wrote:
> Linear interpolation goes from 63 (llvm) or 58 (gcc) to 48 (yasm)
> cycles/sample on 64bit, or from 66 (llvm/gcc) to 52 (yasm) cycles/
> sample on 32bit. Bon-linear goes from 43 (llvm) or 38 (gcc) to
> 32 (yasm) cycles/sample on 64bit, or from 46 (llvm) or 44 (gcc) to
> 38 (yasm) cycles/sample on 32bit (all testing on OSX 10.9.2, llvm
> 5.1 and gcc 4.8/9).
> ---
>  configure                            |   3 +-
>  libswresample/resample_template.c    |  12 +-
>  libswresample/x86/Makefile           |   1 +
>  libswresample/x86/resample.asm       | 462 +++++++++++++++++++++++++++++++++++
>  libswresample/x86/resample_mmx.h     | 118 ---------
>  libswresample/x86/resample_x86_dsp.c |  34 ++-
>  6 files changed, 481 insertions(+), 149 deletions(-)
>  create mode 100644 libswresample/x86/resample.asm

applied

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140628/0343528e/attachment.asc>


More information about the ffmpeg-devel mailing list