[FFmpeg-devel] [FFmpeg-cvslog] r11100 - in trunk/libavcodec/i386: cavsdsp_mmx.c dsputil_mmx.c dsputil_mmx.h h264dsp_mmx.c mpegvideo_mmx.c vc1dsp_mmx.c

Uoti Urpala uoti.urpala
Tue Dec 4 16:50:32 CET 2007

On Sun, 2007-12-02 at 21:34 -0500, Rich Felker wrote:
> On Mon, Dec 03, 2007 at 03:15:17AM +0200, Uoti Urpala wrote:
> > More precisely the issue is that any access to symbols that might be in
> > a different library triggers the addition of the function prologue that
> > sets %ebx, independently of whether those symbols are functions or data
> > variables.
> Would you agree that this constitutes a gcc bug (or at least a serious
> deficiency in generated code quality) and not something that library
> developers should be worried about aside from reporting the bug to the
> gcc team?

This is how latest gcc works, and a version with better optimization is
not even expected to appear soon. So most users have no way to avoid it.
Under those circumstances it is something that developers should take
into account instead of completely ignoring it on "in theory it would be
possible to do better" grounds.

More information about the ffmpeg-devel mailing list