[FFmpeg-devel] [PATCH 4/4] VP8: optimize VP8Context struct ordering

Diego Elio Pettenò flameeyes
Sat Mar 12 14:06:07 CET 2011


Il giorno ven, 11/03/2011 alle 13.56 -0800, Jason Garrett-Glaser ha
scritto:
> 
> Shaves at least 3KB off code size on x86, should improve cache
> utilization.
> This would probably be useful to do for other decoders/encoders as
> well. 

FWIW the pahole utility from acmel's dwarves is designed to find the
cacheline boundaries in structures, you could probably give it a try.

For Gentoo users it's part of dev-util/dwarves (use the 9999 live
version, I should make a snapshot of it); for the others:

http://git.kernel.org/?p=linux/kernel/git/acme/pahole.git;a=summary

-- 
Diego Elio Petten? ? Flameeyes
http://blog.flameeyes.eu/




More information about the ffmpeg-devel mailing list