]> git.sesse.net Git - vlc/commitdiff
contrib: Remove now uneeded part of the ffmpeg-macosx-intel-mmx.patch.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 9 Feb 2008 13:58:18 +0000 (13:58 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 9 Feb 2008 13:58:18 +0000 (13:58 +0000)
extras/contrib/src/Patches/ffmpeg-macosx-intel-mmx.patch

index d55072bd80d5a88c230cb4b2d7c16e55787ccfc6..40948eaacf78fd4a852d9dd484132682efa86111 100644 (file)
@@ -345,82 +345,3 @@ Index: libavcodec/i386/cavsdsp_mmx.c
  /*****************************************************************************
   *
   * inverse transform
-Index: libavcodec/i386/flacdsp_mmx.c
-===================================================================
---- libavcodec/i386/flacdsp_mmx.c      (revision 11270)
-+++ libavcodec/i386/flacdsp_mmx.c      (working copy)
-@@ -26,7 +26,6 @@
-     double c = 2.0 / (len-1.0);
-     int n2 = len>>1;
-     long i = -n2*sizeof(int32_t);
--    long j =  n2*sizeof(int32_t);
-     asm volatile(
-         "movsd   %0,     %%xmm7 \n\t"
-         "movapd  %1,     %%xmm6 \n\t"
-@@ -44,17 +43,18 @@
-         "movapd   %%xmm6,  %%xmm0   \n\t"\
-         "subpd    %%xmm1,  %%xmm0   \n\t"\
-         "pshufd   $0x4e,   %%xmm0, %%xmm1 \n\t"\
--        "cvtpi2pd (%4,%0), %%xmm2   \n\t"\
--        "cvtpi2pd (%5,%1), %%xmm3   \n\t"\
-+        "cvtpi2pd (%3,%0), %%xmm2   \n\t"\
-         "mulpd    %%xmm0,  %%xmm2   \n\t"\
-+        "movapd   %%xmm2, (%1,%0,2) \n\t"\
-+        "negl %0\n\t"\
-+        "cvtpi2pd (%4,%0), %%xmm3   \n\t"\
-         "mulpd    %%xmm1,  %%xmm3   \n\t"\
--        "movapd   %%xmm2, (%2,%0,2) \n\t"\
--        MOVPD"    %%xmm3, (%3,%1,2) \n\t"\
-+        MOVPD"    %%xmm3, (%2,%0,2) \n\t"\
-         "subpd    %%xmm5,  %%xmm7   \n\t"\
--        "sub      $8,      %1       \n\t"\
-+        "negl %0\n\t"\
-         "add      $8,      %0       \n\t"\
-         "jl 1b                      \n\t"\
--        :"+&r"(i), "+&r"(j)\
-+        :"+&r"(i)\
-         :"r"(w_data+n2), "r"(w_data+len-2-n2),\
-          "r"(data+n2), "r"(data+len-2-n2)\
-     );
-@@ -85,9 +85,11 @@
-         long i = -len*sizeof(double);
-         if(j == lag-2) {
-             asm volatile(
--                "movsd     %6,     %%xmm0 \n\t"
--                "movsd     %6,     %%xmm1 \n\t"
--                "movsd     %6,     %%xmm2 \n\t"
-+                "movsd     %0,     %%xmm0 \n\t"
-+                "movsd     %0,     %%xmm1 \n\t"
-+                "movsd     %0,     %%xmm2 \n\t"
-+                :: "m"(*ff_pd_1) );
-+            asm volatile(
-                 "1:                       \n\t"
-                 "movapd   (%4,%0), %%xmm3 \n\t"
-                 "movupd -8(%5,%0), %%xmm4 \n\t"
-@@ -110,12 +112,14 @@
-                 "movsd     %%xmm1, %2     \n\t"
-                 "movsd     %%xmm2, %3     \n\t"
-                 :"+&r"(i), "=m"(autoc[j]), "=m"(autoc[j+1]), "=m"(autoc[j+2])
--                :"r"(data1+len), "r"(data1+len-j), "m"(*ff_pd_1)
-+                :"r"(data1+len), "r"(data1+len-j)
-             );
-         } else {
-             asm volatile(
--                "movsd     %5,     %%xmm0 \n\t"
--                "movsd     %5,     %%xmm1 \n\t"
-+                "movsd     %0,     %%xmm0 \n\t"
-+                "movsd     %0,     %%xmm1 \n\t"
-+                :: "m"(*ff_pd_1) );
-+            asm volatile(
-                 "1:                       \n\t"
-                 "movapd   (%3,%0), %%xmm3 \n\t"
-                 "movupd -8(%4,%0), %%xmm4 \n\t"
-@@ -132,7 +136,7 @@
-                 "movsd     %%xmm0, %1     \n\t"
-                 "movsd     %%xmm1, %2     \n\t"
-                 :"+&r"(i), "=m"(autoc[j]), "=m"(autoc[j+1])
--                :"r"(data1+len), "r"(data1+len-j), "m"(*ff_pd_1)
-+                :"r"(data1+len), "r"(data1+len-j)
-             );
-         }
-     }