X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=plugins%2Fimdct%2Fac3_imdct_sse.c;h=d31f03244714fe15601d8b84b105a04db567f6b2;hb=40eb7aef41c0c00808bb904dbdad05e7360a56e7;hp=c397193d5a6afcbd284e54d0427bf7d6b76cd42a;hpb=50366aa6da439bd704604969b96b92f8486a5e6d;p=vlc diff --git a/plugins/imdct/ac3_imdct_sse.c b/plugins/imdct/ac3_imdct_sse.c index c397193d5a..d31f032447 100644 --- a/plugins/imdct/ac3_imdct_sse.c +++ b/plugins/imdct/ac3_imdct_sse.c @@ -2,7 +2,7 @@ * ac3_imdct_sse.c: accelerated SSE ac3 DCT ***************************************************************************** * Copyright (C) 1999, 2000 VideoLAN - * $Id: ac3_imdct_sse.c,v 1.7 2001/11/13 18:10:38 sam Exp $ + * $Id: ac3_imdct_sse.c,v 1.11 2002/05/14 18:11:15 sam Exp $ * * Authors: Renaud Dartus * Aaron Holtzman @@ -22,21 +22,13 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. *****************************************************************************/ -#define MODULE_NAME imdctsse -#include "modules_inner.h" - /***************************************************************************** * Preamble *****************************************************************************/ -#include "defs.h" - #include #include -#include "config.h" -#include "common.h" -#include "threads.h" -#include "mtime.h" +#include #include "ac3_imdct.h" #include "ac3_imdct_common.h" @@ -111,7 +103,7 @@ static void imdct512_pre_ifft_twiddle_sse (const int *pmt, complex_t *buf, float "movl $64, -4(%%ebp)\n" ".align 16\n" -".loop:\n" +"0:\n" "movl (%%eax), %%esi\n" "movl 4(%%eax), %%edi\n" "movss (%%ecx, %%esi, 8), %%xmm1\n" /* 2j */ @@ -143,7 +135,7 @@ static void imdct512_pre_ifft_twiddle_sse (const int *pmt, complex_t *buf, float "movaps %%xmm0, -16(%%ebx)\n" "decl -4(%%ebp)\n" - "jnz .loop\n" + "jnz 0b\n" "popl %%esi\n" "popl %%edi\n" @@ -167,7 +159,7 @@ static void imdct512_post_ifft_twiddle_sse (complex_t *buf, float *xcos_sin_sse) "movl $32, %%ebx\n" /* loop counter */ ".align 16\n" -".loop1:\n" +"0:\n" "movaps (%%eax), %%xmm0\n" /* im1 | re1 | im0 | re0 */ "movaps (%%ecx), %%xmm2\n" /* -c | -s | -s | c */ @@ -218,7 +210,7 @@ static void imdct512_post_ifft_twiddle_sse (complex_t *buf, float *xcos_sin_sse) "addl $64, %%ecx\n" "addl $32, %%eax\n" "decl %%ebx\n" - "jnz .loop1\n" + "jnz 0b\n" "popl %%ebx\n" : "=a" (buf)