[FFmpeg-devel] [PATCH 2/2] swr: rewrite resample_common/linear_float_sse/avx in yasm.
Michael Niedermayer
michaelni at gmx.at
Sat Jun 28 15:59:42 CEST 2014
On Sat, Jun 28, 2014 at 08:00:06AM -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 | 460 +++++++++++++++++++++++++++++++++++
> libswresample/x86/resample_mmx.h | 118 ---------
> libswresample/x86/resample_x86_dsp.c | 34 ++-
> 6 files changed, 479 insertions(+), 149 deletions(-)
> create mode 100644 libswresample/x86/resample.asm
does not seem to build (x86_64 ubuntu)
make -j12 -k
YASM libswresample/x86/resample.o
libswresample/x86/resample.asm:47: warning: section flags ignored on section redeclaration
libswresample/x86/resample.asm:460: error: invalid combination of opcode and operands
libswresample/x86/resample.asm:460: error: invalid size for operand 1
libswresample/x86/resample.asm:460: error: invalid combination of opcode and operands
libswresample/x86/resample.asm:460: error: invalid combination of opcode and operands
libswresample/x86/resample.asm:460: error: invalid combination of opcode and operands
libswresample/x86/resample.asm:460: error: invalid size for operand 1
libswresample/x86/resample.asm:460: error: invalid combination of opcode and operands
libswresample/x86/resample.asm:460: error: invalid combination of opcode and operands
make: *** [libswresample/x86/resample.o] Error 1
make: Target `all' not remade because of errors.
yasm --version
yasm 1.1.0.2352
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
There will always be a question for which you do not know the correct answer.
-------------- 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/7083d3a7/attachment.asc>
More information about the ffmpeg-devel
mailing list