[FFmpeg-cvslog] r12165 - trunk/libavcodec/dsputil.c

Uoti Urpala uoti.urpala
Thu Feb 21 22:19:41 CET 2008


On Thu, 2008-02-21 at 16:14 -0500, Rich Felker wrote:
> This depends on the gcc version and -f options, particularly 'unit at
> a time'. It's default with -O2 and higher (maybe even -O1) in recent
> gcc releases but this increases the amount of memory required to
> compile by (typically) 2-5x and it's ugly to rely on it.

You're worrying about a constant being optimized out WHEN COMPILING
WITHOUT OPTIMIZATION? That's nonsense.

Also the code does NOT "rely" on the optimization in any way. It will
work perfectly correctly without it. It may be less optimized if
optimization is not enabled, but that shouldn't come as much of a
surprise...

-funit-at-a-time is enabled at all optimization levels above -O0 btw,
including -Os.





More information about the ffmpeg-cvslog mailing list