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

Michael Niedermayer michaelni
Tue Nov 24 13:06:32 CET 2009


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Thouse who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091124/4a057d2d/attachment.pgp>



More information about the ffmpeg-devel mailing list