On Sun, Aug 23, 2009 at 12:48 PM, Robert Millan<r...@aybabtu.com> wrote: > On Fri, Aug 21, 2009 at 05:33:30PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> + for (j = 0; j < height; j++) >> + { >> + for (i = 0; i < width; i++) >> + { > > It's a bit odd, but GCC doesn't seem to optimize those in a single loop. > Could > you use "i = 0; i < height * width; i++" instead? (for this and the other > similar instances) There are some operations to do after completing inner loop.
-- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel