[FFmpeg-devel] [PATCH 3/3] x86: sbrdsp: implement SSE2 hf_apply_noise
Michael Niedermayer
michaelni at gmx.at
Fri Apr 12 17:38:47 CEST 2013
On Tue, Apr 09, 2013 at 10:54:27PM +0000, Christophe Gisquet wrote:
> 233 to 107 cycles on Arrandale and Win64.
> Replacing the multiplication by s_m[m] by a pand and a pxor with
> appropriate vectors is slower. Unrolling is a 15 cycles win.
> A SSE version was 4 cycles slower.
> ---
> libavcodec/aacsbrdata.h | 6 ++-
> libavcodec/x86/sbrdsp.asm | 100 +++++++++++++++++++++++++++++++++++++++++++
> libavcodec/x86/sbrdsp_init.c | 16 +++++++
> 3 files changed, 121 insertions(+), 1 deletion(-)
Applying this or 2/3 and this i get
libavcodec/x86/sbrdsp.asm:357: error: (PROLOGUE:2) cannot reference symbol `NREGS' in preprocessor
libavcodec/x86/sbrdsp.asm:364: error: (PROLOGUE:2) cannot reference symbol `NREGS' in preprocessor
libavcodec/x86/sbrdsp.asm:367: error: (LOAD_NST:1) cannot reference symbol `NREGS' in preprocessor
libavcodec/x86/sbrdsp.asm:373: error: (PROLOGUE:2) cannot reference symbol `NREGS' in preprocessor
libavcodec/x86/sbrdsp.asm:380: error: (PROLOGUE:2) cannot reference symbol `NREGS' in preprocessor
libavcodec/x86/sbrdsp.asm:383: error: (LOAD_NST:1) cannot reference symbol `NREGS' in preprocessor
libavcodec/x86/sbrdsp.asm:394: error: cannot reference symbol `NREGS' in preprocessor
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130412/681d12d4/attachment.asc>
More information about the ffmpeg-devel
mailing list