[Ffmpeg-devel] Still struggling with -fPIC and MMX asm-code

Michael Niedermayer michaelni
Sat Jul 16 09:23:23 CEST 2005


Hi

On Saturday 16 July 2005 09:04, Tobias Grimm wrote:
[...]
> >btw, another possible solution for this case would be to
> >addl %2, %%"REG_a"
> >movq (%%"REG_a"), %%mm5
> >subl %2, %%"REG_a"
>
> Is this faster than "movq (%%"REG_b", %%"REG_a"), %%mm5" ?

no, but it might by faster then
movl %%"REG_b", -4(%%esp)
movl %2, %%"REG_b"
movq (%%"REG_b", %%"REG_a"), %%mm5
movl -4(%%esp), %%"REG_b

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list