Re: [AD] Patch for performance issues in i386 blitters |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Eric Botcazou wrote:
A consistent 0% change for me, both under DOS and Linux. I guess my gfx card is the bottleneck on my system!
Or the bus speed (PCI?).
An interesting thing: the following modification - movw BMP_SEG(%edx), %es /* select segment */ + movl BMP_SEG(%edx), %es /* select segment */ doesn't actually save any byte, because GAS is smart enough to automatically convert the former into the latter.
Cool.
Bob, if you're still ok with it, I think you can commit the patch.
I'll do it some time this week (unless you get to it first).I also wanted to add some code to check if the source or dest bitmaps are memory bitmaps, and thus we can save the calls to READ|WRITE_BANK altogether.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |