[Ffmpeg-devel] [PATCH] fix snow x86 SIMD

Michael Niedermayer michaelni
Mon Aug 7 23:00:56 CEST 2006


Hi

On Mon, Aug 07, 2006 at 10:42:54PM +0200, Luca Barbato wrote:
> please check and review
> 
> http://bugs.gentoo.org/attachment.cgi?id=93285
> 
> http://bugs.gentoo.org/show_bug.cgi?id=142380

[...]

> +             "mov  %%"REG_b", %2             \n\t"\
> +             "mov  %7, %%"REG_c"             \n\t"\
> +             "mov  %6, %%"REG_b"             \n\t"\
> +             "mov  %4, %%"REG_S"             \n\t"\
[...]
> -             :"+m"(dst8),"+m"(dst_array)\
> +             "mov  %2, %%"REG_b"             \n\t"\
> +             :"+m"(dst8),"+m"(dst_array),"+m"(pic_reg_b)\
>               :\
>               "rm"((long)(src_x<<2)),"m"(obmc),"a"(block),"m"((long)b_h),"m"((long)src_stride):\
> -             "%"REG_b"","%"REG_c"","%"REG_S"","%"REG_D"","%"REG_d"");
> +             "%"REG_c"","%"REG_S"","%"REG_D"","%"REG_d"");

if REG_b is not on the clobber list then you cannot clobber it, for example
it might be used in a "m"  or a "r" 


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list