<commit_before>Index: libavcodec/i386/motion_est_mmx.c
===================================================================
--- libavcodec/i386/motion_est_mmx.c	(revision 11270)
+++ libavcodec/i386/motion_est_mmx.c	(working copy)
@@ -167,7 +167,7 @@
 static inline void sad8_4_mmx2(uint8_t *blk1, uint8_t *blk2, int stride, int h)
 {
     asm volatile(
-        "movq "MANGLE(bone)", %%mm5     \n\t"
+        "movq %4, %%mm5     \n\t"
         "movq (%1), %%mm0               \n\t"
         "pavgb 1(%1), %%mm0             \n\t"
         "add %3, %1                     \n\t"
@@ -190,7 +190,7 @@
         "sub $2, %0                     \n\t"
         " jg 1b                         \n\t"
         : "+r" (h), "+r" (blk1), "+r" (blk2)
-        : "r" ((long)stride)
+        : "r" ((long)stride), "m" (bone)
     );
 }
 
@@ -258,7 +258,7 @@
         "punpckhbw %%mm7, %%mm5         \n\t"
         "paddw %%mm4, %%mm2             \n\t"
         "paddw %%mm5, %%mm3             \n\t"
-        "movq 16+"MANGLE(round_tab)", %%mm5 \n\t"
+        "movq 16+%5, %%mm5 \n\t"
         "paddw %%mm2, %%mm0             \n\t"
         "paddw %%mm3, %%mm1             \n\t"
         "paddw %%mm5, %%mm0             \n\t"
@@ -281,7 +281,7 @@
         "add %4, %%"REG_a"              \n\t"
         " js 1b                         \n\t"
         : "+a" (len)
-        : "r" (blk1 - len), "r" (blk1 -len + stride), "r" (blk2 - len), "r" ((long)stride)
+        : "r" (blk1 - len), "r" (blk1 -len + stride), "r" (blk2 - len), "r" ((long)stride), "m" (round_tab[0])
     );
 }
 
Index: libavcodec/i386/dsputil_h264_template_mmx.c
===================================================================
--- libavcodec/i386/dsputil_h264_template_mmx.c	(revision 11834)
+++ libavcodec/i386/dsputil_h264_template_mmx.c	(working copy)
@@ -192,8 +192,8 @@
         "pxor   %%mm7, %%mm7        \n\t"
         "movd %5, %%mm2             \n\t"
         "movd %6, %%mm3             \n\t"
-        "movq "MANGLE(ff_pw_8)", %%mm4\n\t"
-        "movq "MANGLE(ff_pw_8)", %%mm5\n\t"
+        "movq %7, %%mm4\n\t"
+        "movq %7, %%mm5\n\t"
         "punpcklwd %%mm2, %%mm2     \n\t"
         "punpcklwd %%mm3, %%mm3     \n\t"
         "punpcklwd %%mm2, %%mm2     \n\t"
@@ -250,7 +250,7 @@
         "sub $2, %2                 \n\t"
         "jnz 1b                     \n\t"
         : "+r"(dst), "+r"(src), "+r"(h)
-        : "r"((long)stride), "m"(*ff_pw_32), "m"(x), "m"(y)
+        : "r"((long)stride), "m"(ff_pw_32), "m"(x), "m"(y), "m"(ff_pw_8)
     );
 }
  
Index: libavcodec/i386/dsputil_mmx.c
===================================================================
--- libavcodec/i386/dsputil_mmx.c	(revision 11270)
+++ libavcodec/i386/dsputil_mmx.c	(working copy)
@@ -1920,7 +1920,7 @@
 
 #define QPEL_V_LOW(m3,m4,m5,m6, pw_20, pw_3, rnd, in0, in1, in2, in7, out, OP)\
         "paddw " #m4 ", " #m3 "           \n\t" /* x1 */\
-        "movq "MANGLE(ff_pw_20)", %%mm4   \n\t" /* 20 */\
+        "movq "#pw_20", %%mm4   \n\t" /* 20 */\
         "pmullw " #m3 ", %%mm4            \n\t" /* 20x1 */\
         "movq "#in7", " #m3 "             \n\t" /* d */\
         "movq "#in0", %%mm5               \n\t" /* D */\
@@ -1932,7 +1932,7 @@
         "paddw " #m5 ", %%mm6             \n\t" /* x2 */\
         "paddw %%mm6, %%mm6               \n\t" /* 2x2 */\
         "psubw %%mm6, %%mm5               \n\t" /* -2x2 + x3 */\
-        "pmullw "MANGLE(ff_pw_3)", %%mm5  \n\t" /* -6x2 + 3x3 */\
+        "pmullw "#pw_3", %%mm5  \n\t" /* -6x2 + 3x3 */\
         "paddw " #rnd ", %%mm4            \n\t" /* x2 */\
         "paddw %%mm4, %%mm5               \n\t" /* 20x1 - 6x2 + 3x3 - x4 */\<commit_msg>contribs: really fix this patch<commit_after>Index: libavcodec/i386/motion_est_mmx.c
===================================================================
--- libavcodec/i386/motion_est_mmx.c	(revision 11270)
+++ libavcodec/i386/motion_est_mmx.c	(working copy)
@@ -167,7 +167,7 @@
 static inline void sad8_4_mmx2(uint8_t *blk1, uint8_t *blk2, int stride, int h)
 {
     asm volatile(
-        "movq "MANGLE(bone)", %%mm5     \n\t"
+        "movq %4, %%mm5     \n\t"
         "movq (%1), %%mm0               \n\t"
         "pavgb 1(%1), %%mm0             \n\t"
         "add %3, %1                     \n\t"
@@ -190,7 +190,7 @@
         "sub $2, %0                     \n\t"
         " jg 1b                         \n\t"
         : "+r" (h), "+r" (blk1), "+r" (blk2)
-        : "r" ((long)stride)
+        : "r" ((long)stride), "m" (bone)
     );
 }
 
@@ -258,7 +258,7 @@
         "punpckhbw %%mm7, %%mm5         \n\t"
         "paddw %%mm4, %%mm2             \n\t"
         "paddw %%mm5, %%mm3             \n\t"
-        "movq 16+"MANGLE(round_tab)", %%mm5 \n\t"
+        "movq 16+%5, %%mm5 \n\t"
         "paddw %%mm2, %%mm0             \n\t"
         "paddw %%mm3, %%mm1             \n\t"
         "paddw %%mm5, %%mm0             \n\t"
@@ -281,7 +281,7 @@
         "add %4, %%"REG_a"              \n\t"
         " js 1b                         \n\t"
         : "+a" (len)
-        : "r" (blk1 - len), "r" (blk1 -len + stride), "r" (blk2 - len), "r" ((long)stride)
+        : "r" (blk1 - len), "r" (blk1 -len + stride), "r" (blk2 - len), "r" ((long)stride), "m" (round_tab[0])
     );
 }
  
Index: libavcodec/i386/dsputil_mmx.c
===================================================================
--- libavcodec/i386/dsputil_mmx.c	(revision 11270)
+++ libavcodec/i386/dsputil_mmx.c	(working copy)
@@ -1920,7 +1920,7 @@
 
 #define QPEL_V_LOW(m3,m4,m5,m6, pw_20, pw_3, rnd, in0, in1, in2, in7, out, OP)\
         "paddw " #m4 ", " #m3 "           \n\t" /* x1 */\
-        "movq "MANGLE(ff_pw_20)", %%mm4   \n\t" /* 20 */\
+        "movq "#pw_20", %%mm4   \n\t" /* 20 */\
         "pmullw " #m3 ", %%mm4            \n\t" /* 20x1 */\
         "movq "#in7", " #m3 "             \n\t" /* d */\
         "movq "#in0", %%mm5               \n\t" /* D */\
@@ -1932,7 +1932,7 @@
         "paddw " #m5 ", %%mm6             \n\t" /* x2 */\
         "paddw %%mm6, %%mm6               \n\t" /* 2x2 */\
         "psubw %%mm6, %%mm5               \n\t" /* -2x2 + x3 */\
-        "pmullw "MANGLE(ff_pw_3)", %%mm5  \n\t" /* -6x2 + 3x3 */\
+        "pmullw "#pw_3", %%mm5  \n\t" /* -6x2 + 3x3 */\
         "paddw " #rnd ", %%mm4            \n\t" /* x2 */\
         "paddw %%mm4, %%mm5               \n\t" /* 20x1 - 6x2 + 3x3 - x4 */\
{'fraction_non_alphanumeric': 0.2703889585947302, 'fraction_numerical': 0.0729297365119197, 'mean_word_length': 1.476504854368932, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2400113', 'n_tokens_mistral': 3037, 'n_tokens_neox': 2718, 'n_words': 529}