[FFmpeg-devel] [RFC] fix lpc_mmx.c compilation with --enable-pic

Reimar Döffinger Reimar.Doeffinger
Sun Dec 13 22:18:01 CET 2009


On Tue, Nov 24, 2009 at 01:06:32PM +0100, Michael Niedermayer wrote:
> On Sun, Nov 22, 2009 at 11:36:01AM +0100, Reimar D?ffinger wrote:
> > Hello,
> > unfortunately gcc is as usual quite stupid so a constraint like
> > "=m"(autoc[j]), "=m"(autoc[j+1]), "=m"(autoc[j+2]) takes up a lot of
> > registers (strangely this also causes all other asm in the same function
> > to fail with "out of registers", including any asm from inlined
> > functions).
> > Attached is a possible solution I found which seems reasonable to me.
> > Comments?
> 
> >  lpc_mmx.c |   19 ++++++++++---------
> >  1 file changed, 10 insertions(+), 9 deletions(-)
> > 1eacb77301b919079355642b630288a25d1eebce  pic_lpc.diff
> 
> if it works and is not slower, ok

Anyone volunteering to benchmark? I am still limited to my Atom-based computer
and I don't think benchmarks are that useful on it (and mostly I am just lazy).



More information about the ffmpeg-devel mailing list