grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Optimised 1bit blitters


From: Robert Millan
Subject: Re: [PATCH] Optimised 1bit blitters
Date: Mon, 24 Aug 2009 01:07:36 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Aug 23, 2009 at 01:05:45PM +0200, Vladimir 'phcoder' Serbinenko wrote:
> On Sun, Aug 23, 2009 at 12:48 PM, Robert Millan<address@hidden> 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.

Oh, right.  Sorry I missread it.  In that case, I have no objection but please
let it rest a few days to see if someone else will review it.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]