Revision 755bfeab libavcodec/i386/dsputil_mmx_avg.h

View differences:

libavcodec/i386/dsputil_mmx_avg.h
96 96
        "add    $16, %2                 \n\t"
97 97
        "subl   $4, %0                  \n\t"
98 98
        "jnz    1b                      \n\t"
99
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
99
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cannot be used
100 100
        :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
101 101
#else
102 102
        :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
......
143 143
        "add    $32, %2                 \n\t"
144 144
        "subl   $4, %0                  \n\t"
145 145
        "jnz    1b                      \n\t"
146
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
146
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cannot be used
147 147
        :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
148 148
#else
149 149
        :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
......
213 213
        "add    $32, %2                 \n\t"
214 214
        "subl   $4, %0                  \n\t"
215 215
        "jnz    1b                      \n\t"
216
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
216
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cannot be used
217 217
        :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
218 218
#else
219 219
        :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
......
268 268
        "add    $16, %2                 \n\t"
269 269
        "subl   $4, %0                  \n\t"
270 270
        "jnz    1b                      \n\t"
271
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
271
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cannot be used
272 272
        :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
273 273
#else
274 274
        :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
......
320 320
        "add    $32, %2                 \n\t"
321 321
        "subl   $4, %0                  \n\t"
322 322
        "jnz    1b                      \n\t"
323
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
323
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cannot be used
324 324
        :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
325 325
#else
326 326
        :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
......
408 408
        "add    $32, %2                 \n\t"
409 409
        "subl   $2, %0                  \n\t"
410 410
        "jnz    1b                      \n\t"
411
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
411
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cannot be used
412 412
        :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
413 413
#else
414 414
        :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
......
462 462
        "add    $32, %2                 \n\t"
463 463
        "subl   $2, %0                  \n\t"
464 464
        "jnz    1b                      \n\t"
465
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
465
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cannot be used
466 466
        :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
467 467
#else
468 468
        :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
......
535 535
        "add    $32, %2                 \n\t"
536 536
        "subl   $2, %0                  \n\t"
537 537
        "jnz    1b                      \n\t"
538
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cant be used
538
#ifdef PIC //Note "+bm" and "+mb" are buggy too (with gcc 3.2.2 at least) and cannot be used
539 539
        :"+m"(h), "+a"(src1), "+c"(src2), "+d"(dst)
540 540
#else
541 541
        :"+b"(h), "+a"(src1), "+c"(src2), "+d"(dst)
......
748 748
        :"%"REG_a, "memory");
749 749
}
750 750

  
751
// Note this is not correctly rounded, but this function is only used for b frames so it doesnt matter
751
/* Note this is not correctly rounded, but this function is only
752
 * used for B-frames so it does not matter. */
752 753
static void DEF(avg_pixels8_xy2)(uint8_t *block, const uint8_t *pixels, int line_size, int h)
753 754
{
754 755
    MOVQ_BONE(mm6);

Also available in: Unified diff