[FFmpeg-cvslog] r22073 - trunk/libavcodec/h264.h

Michael Niedermayer michaelni
Fri Feb 26 15:14:03 CET 2010


On Fri, Feb 26, 2010 at 10:13:40AM +0100, michael wrote:
> Author: michael
> Date: Fri Feb 26 10:13:40 2010
> New Revision: 22073
> 
> Log:
> Simplify code to set cbp_*
> this seems 1 cpu cycle slower even though we practically just remove code.
> Speed loss seems caused by the merge of if(left_type), iam commiting this
> anyway as i cant imagine this to be anything but compiler messup.

looking at the asm shows that gcc made significant changes to completely
unrelated code which probably affected my benchmark which covered the
whole fill_decode_caches()
meassuring fill_decode_caches() with 4 seperate timers to cover the differnt
parts reveals a 2 cpu cycle speedup. And a timer just over the changes code
prevents gcc from messing with unrelated code.

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

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- 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-cvslog/attachments/20100226/7416bfe9/attachment.pgp>



More information about the ffmpeg-cvslog mailing list