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

Tobias Grimm listaccount
Sat Jul 16 11:20:35 CEST 2005


Michael Niedermayer schrieb:

>>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
>  
>

Of course - that's what I had in mind. I think, the add/sub method is
fine. I will use this for the PIC-lib's in the Debian-package.

Thanks a million!  Slowly I'm getting a feeling again for assembler
programming - reminds me of the good old days, where I spent hours
programming an eprom manually, just to figure out, that there was a bug
in the assembler code :-)

bye,

Tobias





More information about the ffmpeg-devel mailing list