[MPlayer-cvslog] r33469 - trunk/mp3lib/dct64_sse.c

iive subversion at mplayerhq.hu
Wed May 18 00:33:35 CEST 2011


Author: iive
Date: Wed May 18 00:33:35 2011
New Revision: 33469

Log:
Workaround mp3lib SSE code miscompilation with gcc 3.6.0 .

Patch by Jindrich Makovicka <makovick <at> gmail>.

Modified:
   trunk/mp3lib/dct64_sse.c

Modified: trunk/mp3lib/dct64_sse.c
==============================================================================
--- trunk/mp3lib/dct64_sse.c	Mon May 16 21:20:58 2011	(r33468)
+++ trunk/mp3lib/dct64_sse.c	Wed May 18 00:33:35 2011	(r33469)
@@ -112,7 +112,6 @@ void dct64_sse(short *out0,short *out1,r
     }
 
     {
-        real *costab = costab_mmx + 24;
         int i;
 
         __asm__(
@@ -121,7 +120,7 @@ void dct64_sse(short *out0,short *out1,r
             "movaps    %1, %%xmm5\n\t"
             "movaps    %%xmm5, %%xmm6\n\t"
             :
-            :"m"(*costab), "m"(*nnnn)
+            :"m"(costab_mmx[24]), "m"(*nnnn)
            );
 
         for (i = 0; i < 0x20; i += 8)


More information about the MPlayer-cvslog mailing list