[FFmpeg-devel] [PATCH] MMX/SSE2 qpel functions for RV40

Michael Niedermayer michaelni
Mon Jan 5 19:27:57 CET 2009


On Mon, Jan 05, 2009 at 06:47:08PM +0100, Mathieu Velten wrote:
> new version of the patch which uses one less register.
> 
> Mathieu Velten

[...]
> +            OP(%%mm0, (%1),%%mm5, q)\
> +            : "+a"(src), "+c"(dst)\
> +            : "m"(ff_pw_5), "m"(*C1_reg), "m"(*C2_reg), "m"(*rnd_reg), "D"((x86_reg)SHIFT)\
> +            : "memory"\

you can access constants like ff_pw_5 through MANGLE() thus bypassing
gccs register deallocator

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090105/d61bb6c6/attachment.pgp>



More information about the ffmpeg-devel mailing list