[FFmpeg-devel] [PATCH] MMX/SSE2 qpel functions for RV40
David Conrad
lessen42
Tue Jan 6 04:04:59 CET 2009
On Jan 5, 2009, at 1:35 PM, Mathieu Velten wrote:
> 2009/1/5 Michael Niedermayer <michaelni at gmx.at>:
>> you can access constants like ff_pw_5 through MANGLE() thus bypassing
>> gccs register deallocator
>
> thanks, new patch attached based on the first version with
> MANGLE(ff_pw_5).
Unfortunately, this doesn't actually help because ff_pw_5 was accessed
through the PIC register originally, which gcc still reserves despite
not needing to be used in the asm block. IMO if this is faster or if
you consider it cleaner than the 6 register version (which does work)
then use #ifdef HAVE_7REGS. I don't particularly care if it's usable
with pic, just that ffmpeg compiles.
-David
More information about the ffmpeg-devel
mailing list