[ros-dev] [ros-diffs] [tkreuzer] 42353: asm version of DIB_32BPP_ColorFill: - Add frame pointer - Get rid of algin_draw, 32bpp surfaces must be DWORD aligned - Optimize the loop - Add comments

Jose Catena jc1 at diwaves.com
Tue Aug 4 21:02:16 CEST 2009


> That looks almost like the version I wrote, except I didn't use memory
access inside the loop, but registers, which should saves some cycles.

Yes, the same. That register vs memory does not make a difference, takes the
same time if it is in the L1 cache (both just 1 cycle), and it will always
be there.

Jose Catena
DIGIWAVES S.L.





More information about the Ros-dev mailing list