mirror of https://git.ffmpeg.org/ffmpeg.git
Additional icl inline asm fix.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f02832904d
commit
cd5cf395f6
|
@ -264,7 +264,7 @@ static inline void sad8_4_mmx(uint8_t *blk1, uint8_t *blk2, int stride, int h)
|
||||||
"punpckhbw %%mm7, %%mm5 \n\t"
|
"punpckhbw %%mm7, %%mm5 \n\t"
|
||||||
"paddw %%mm4, %%mm2 \n\t"
|
"paddw %%mm4, %%mm2 \n\t"
|
||||||
"paddw %%mm5, %%mm3 \n\t"
|
"paddw %%mm5, %%mm3 \n\t"
|
||||||
"movq 16+"MANGLE(round_tab)", %%mm5 \n\t"
|
"movq %5, %%mm5 \n\t"
|
||||||
"paddw %%mm2, %%mm0 \n\t"
|
"paddw %%mm2, %%mm0 \n\t"
|
||||||
"paddw %%mm3, %%mm1 \n\t"
|
"paddw %%mm3, %%mm1 \n\t"
|
||||||
"paddw %%mm5, %%mm0 \n\t"
|
"paddw %%mm5, %%mm0 \n\t"
|
||||||
|
@ -288,8 +288,7 @@ static inline void sad8_4_mmx(uint8_t *blk1, uint8_t *blk2, int stride, int h)
|
||||||
" js 1b \n\t"
|
" js 1b \n\t"
|
||||||
: "+a" (len)
|
: "+a" (len)
|
||||||
: "r" (blk1 - len), "r" (blk1 - len + stride), "r" (blk2 - len),
|
: "r" (blk1 - len), "r" (blk1 - len + stride), "r" (blk2 - len),
|
||||||
"r" ((x86_reg) stride)
|
"r" ((x86_reg) stride), "m" (round_tab[2]));
|
||||||
NAMED_CONSTRAINTS_ADD(round_tab));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int sum_mmx(void)
|
static inline int sum_mmx(void)
|
||||||
|
|
Loading…
Reference in New Issue