Mercurial > libavcodec.hg
comparison i386/dsputil_mmx.c @ 1566:396e8526e82c libavcodec
1l
author | alex |
---|---|
date | Thu, 23 Oct 2003 23:24:38 +0000 |
parents | 1a9a63f59849 |
children | c943c1d2d099 |
comparison
equal
deleted
inserted
replaced
1565:1a9a63f59849 | 1566:396e8526e82c |
---|---|
561 | 561 |
562 "movq %%mm7,%%mm1\n" | 562 "movq %%mm7,%%mm1\n" |
563 "psrlq $32, %%mm7\n" /* shift hi dword to lo */ | 563 "psrlq $32, %%mm7\n" /* shift hi dword to lo */ |
564 "paddd %%mm7,%%mm1\n" | 564 "paddd %%mm7,%%mm1\n" |
565 "movd %%mm1,%2\n" | 565 "movd %%mm1,%2\n" |
566 : "+r" (pix1), "+r" (pix2), "=r"(tmp) : "r" (line_size) : "ecx"); | 566 : "+r" (pix1), "+r" (pix2), "=r"(tmp) : "r" (line_size) : "%ecx"); |
567 return tmp; | 567 return tmp; |
568 } | 568 } |
569 | 569 |
570 static void diff_bytes_mmx(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w){ | 570 static void diff_bytes_mmx(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w){ |
571 int i=0; | 571 int i=0; |