[Ffmpeg-devel] Still struggling with -fPIC and MMX asm-code
Tobias Grimm
listaccount
Sat Jul 16 09:04:33 CEST 2005
Michael Niedermayer schrieb:
>well, not exactly, the stack grows downward not upward,
>
You're right. Of course this should be:
"movl %%"REG_b", -4(%%esp)
...
"movl -4(%%esp), %%"REG_b"
>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" ?
Tobias
More information about the ffmpeg-devel
mailing list