Revision fa9b873e libavcodec/i386/h264dsp_mmx.c

View differences:

libavcodec/i386/h264dsp_mmx.c
75 75
        IDCT4_1D( %%mm4, %%mm2, %%mm3, %%mm0, %%mm1 )
76 76

  
77 77
        "pxor %%mm7, %%mm7    \n\t"
78
    :: "m"(*ff_pw_32));
78
    :: "m"(ff_pw_32));
79 79

  
80 80
    asm volatile(
81 81
    STORE_DIFF_4P( %%mm0, %%mm1, %%mm7)
......
294 294
        STORE_DIFF_8P(%%xmm0, (%0,%2,2), %%xmm6, %%xmm7)
295 295
        STORE_DIFF_8P(%%xmm1, (%0,%3),   %%xmm6, %%xmm7)
296 296
        :"+r"(dst)
297
        :"r"(block), "r"((long)stride), "r"(3L*stride), "m"(*ff_pw_32)
297
        :"r"(block), "r"((long)stride), "r"(3L*stride), "m"(ff_pw_32)
298 298
    );
299 299
}
300 300

  
......
926 926
        "decl %2                    \n\t"\
927 927
        " jnz 1b                    \n\t"\
928 928
        : "+a"(tmp), "+c"(dst), "+m"(h)\
929
        : "S"((long)dstStride), "m"(*ff_pw_32)\
929
        : "S"((long)dstStride), "m"(ff_pw_32)\
930 930
        : "memory"\
931 931
    );\
932 932
}\
......
1200 1200
        "decl %2                    \n\t"\
1201 1201
        " jnz 1b                    \n\t"\
1202 1202
        : "+a"(tmp), "+c"(dst), "+m"(h)\
1203
        : "S"((long)dstStride), "m"(*ff_pw_32)\
1203
        : "S"((long)dstStride), "m"(ff_pw_32)\
1204 1204
        : "memory"\
1205 1205
    );\
1206 1206
    tmp += 8 - size*24;\

Also available in: Unified diff