Revision 40d0e665 libavcodec/i386/dsputil_mmx_rnd.h

View differences:

libavcodec/i386/dsputil_mmx_rnd.h
57 57
        "subl   $4, %0                  \n\t"
58 58
        "jnz    1b                      \n\t"
59 59
        :"+g"(h), "+S"(pixels), "+D"(block)
60
        :"r"((long)line_size)
60
        :"r"((x86_reg)line_size)
61 61
        :REG_a, "memory");
62 62
}
63 63

  
......
107 107
#else
108 108
        :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
109 109
#endif
110
        :"S"((long)src1Stride), "D"((long)dstStride)
110
        :"S"((x86_reg)src1Stride), "D"((x86_reg)dstStride)
111 111
        :"memory");
112 112
}
113 113

  
......
153 153
        "subl   $4, %0                  \n\t"
154 154
        "jnz    1b                      \n\t"
155 155
        :"+g"(h), "+S"(pixels), "+D"(block)
156
        :"r"((long)line_size)
156
        :"r"((x86_reg)line_size)
157 157
        :REG_a, "memory");
158 158
}
159 159

  
......
202 202
#else
203 203
        :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
204 204
#endif
205
        :"S"((long)src1Stride), "D"((long)dstStride)
205
        :"S"((x86_reg)src1Stride), "D"((x86_reg)dstStride)
206 206
        :"memory");
207 207
}
208 208

  
......
231 231
        "subl   $4, %0                  \n\t"
232 232
        "jnz    1b                      \n\t"
233 233
        :"+g"(h), "+S"(pixels), "+D"(block)
234
        :"r"((long)line_size)
234
        :"r"((x86_reg)line_size)
235 235
        :REG_a, "memory");
236 236
}
237 237

  
......
297 297
        "subl   $2, %0                  \n\t"
298 298
        "jnz    1b                      \n\t"
299 299
        :"+g"(h), "+S"(pixels)
300
        :"D"(block), "r"((long)line_size)
300
        :"D"(block), "r"((x86_reg)line_size)
301 301
        :REG_a, "memory");
302 302
}
303 303

  
......
493 493
        "subl   $4, %0                  \n\t"
494 494
        "jnz    1b                      \n\t"
495 495
        :"+g"(h), "+S"(pixels), "+D"(block)
496
        :"r"((long)line_size)
496
        :"r"((x86_reg)line_size)
497 497
        :REG_a, "memory");
498 498
}
499 499

  
......
568 568
        "subl   $2, %0                  \n\t"
569 569
        "jnz    1b                      \n\t"
570 570
        :"+g"(h), "+S"(pixels)
571
        :"D"(block), "r"((long)line_size)
571
        :"D"(block), "r"((x86_reg)line_size)
572 572
        :REG_a, "memory");
573 573
}
574 574

  

Also available in: Unified diff