Hi,

I'm sorry, the latest patch was incomplete.  I've attached a
complete patch this time.



Kurt

--- libavcodec/libpostproc/postprocess_template.c.old   2005-03-19 
21:47:36.884457424 +0100
+++ libavcodec/libpostproc/postprocess_template.c       2005-03-19 
21:48:07.731767920 +0100
@@ -3197,7 +3197,7 @@
 #ifdef HAVE_MMX
                                        asm volatile(
 #ifdef PIC
-                                               "pushl %%"REG_d"        \n\t"
+                                               "push %%"REG_d"        \n\t"
 #endif
                                                "movq (%%"REG_a"), %%mm2        
\n\t" // packedYOffset
                                                "movq 8(%%"REG_a"), %%mm3       
\n\t" // packedYScale
@@ -3265,7 +3265,7 @@
                                                "lea (%%"REG_d",%5,4), 
%%"REG_d"        \n\t"
 SCALED_CPY((%%REGa, %4), (%%REGa, %4, 2), (%%REGd, %5), (%%REGd, %5, 2))
 #ifdef PIC
-                                               "popl %%"REG_d"         \n\t"
+                                               "pop %%"REG_d"         \n\t"
 #endif
 
 
@@ -3290,7 +3290,7 @@
 #ifdef HAVE_MMX
                                        asm volatile(
 #ifdef PIC
-                                               "pushl %%"REG_d"        \n\t"
+                                               "push %%"REG_d"        \n\t"
 #endif
                                                "lea (%0,%2), %%"REG_a" \n\t"
                                                "lea (%1,%3), %%"REG_d" \n\t"
@@ -3311,7 +3311,7 @@
                                                "lea (%%"REG_d",%3,4), 
%%"REG_d"        \n\t"
 SIMPLE_CPY((%%REGa, %2), (%%REGa, %2, 2), (%%REGd, %3), (%%REGd, %3, 2))
 #ifdef PIC
-                                               "popl %%"REG_d"         \n\t"
+                                               "pop %%"REG_d"         \n\t"
 #endif
 
                                                : : "r" (src),
--- libavcodec/i386/mpegvideo_mmx_template.c.old        2005-03-19 
22:06:04.099135208 +0100
+++ libavcodec/i386/mpegvideo_mmx_template.c    2005-03-19 22:06:29.129330040 
+0100
@@ -96,10 +96,10 @@
             "pxor %%mm7, %%mm7                 \n\t" // 0
             "pxor %%mm4, %%mm4                 \n\t" // 0
 #ifdef PIC
-            "pushl %%"REG_a"                   \n\t"
-            "movl %2, %%"REG_a"                        \n\t"
+            "push %%"REG_a"                    \n\t"
+            "mov %2, %%"REG_a"                 \n\t"
             "movq (%%"REG_a"), %%mm5           \n\t" // qmat[0]
-            "popl %%"REG_a"                    \n\t"
+            "pop %%"REG_a"                     \n\t"
 #else
             "movq (%2), %%mm5                  \n\t" // qmat[0]
 #endif
@@ -169,10 +169,10 @@
             "movq (%3, %%"REG_a"), %%mm6       \n\t" // bias[0]
             "paddusw %%mm6, %%mm0              \n\t" // ABS(block[i]) + bias[0]
 #ifdef PIC
-            "pushl %%"REG_a"                   \n\t"
-            "movl %2, %%"REG_a"                        \n\t"
+            "push %%"REG_a"                    \n\t"
+            "mov %2, %%"REG_a"                 \n\t"
             "movq (%%"REG_a", %%"REG_a"), %%mm5        \n\t" // qmat[i]
-            "popl %%"REG_a"                    \n\t"
+            "pop %%"REG_a"                     \n\t"
 #else
             "movq (%2, %%"REG_a"), %%mm5               \n\t" // qmat[i]
 #endif

Reply via email to