[FFmpeg-cvslog] r20094 - in trunk/libavcodec/x86: dsputil_mmx_avg_template.c dsputil_mmx_rnd_template.c

Reimar Döffinger Reimar.Doeffinger
Wed Sep 30 14:30:24 CEST 2009


On Wed, Sep 30, 2009 at 11:49:12AM +0200, reimar wrote:
> Author: reimar
> Date: Wed Sep 30 11:49:12 2009
> New Revision: 20094
> 
> Log:
> Replace several #ifdef PIC with the more obvious and correct
> #if !HAVE_EBX_AVAILABLE, since all it does is avoid using ebx.

Hm, interesting, now OpenBSD build is completely broken (it already
failed all H.264 tests so it's not that much of a change in some way).
I think M?ns mentioned it already to me but I don't remember the
details, anyone knowns what's going on? Seems configure things ebx is
available but at least for these functions it is not...
I remember one issue with the Haiku compiler, namely that in asm
construct using a ebx clobber would compile but one using a "b"
constraint wouldn't.
Should
    check_asm ebx_available '"":::"%ebx"'
maybe be changed to
    check_asm ebx_available '"":"=b"(x)::'
?



More information about the ffmpeg-cvslog mailing list