changeset 33382:5e58893a6478

Workaround mp3lib SSE code miscompilation with gcc 4.6.0 . Patch by Jindrich Makovicka <makovick <at> gmail>.
author iive
date Tue, 17 May 2011 22:33:35 +0000
parents caaafbf05ecb
children d70f79b6ee18
files mp3lib/dct64_sse.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mp3lib/dct64_sse.c	Mon May 16 19:20:58 2011 +0000
+++ b/mp3lib/dct64_sse.c	Tue May 17 22:33:35 2011 +0000
@@ -112,7 +112,6 @@
     }
 
     {
-        real *costab = costab_mmx + 24;
         int i;
 
         __asm__(
@@ -121,7 +120,7 @@
             "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)