[x264-devel] Re: Very small optimizations
Måns Rullgård
mru at mru.ath.cx
Fri Dec 2 11:32:10 CET 2005
David Pio said:
> what I mean here is not about the shifting itslef but more of the
> shifting/divide per loop iteration
> at the end of the for loop it will do a i_me_range/2 or /4 to compare with
> the counter.
> if the compiler knows that i_me_range hasn't changed, it can optimize that
> conditional fragment by remembering the value of i_me_range/2 or /4...but
> does it actually do that?
Yes, the compiler does make this optimization.
--
Måns Rullgård
mru at mru.ath.cx
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list