[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
Wed Aug 5 09:51:44 CEST 2009
> have an optimized implementation of memset() somewhere else. One that can
be inlined, and checks the size and branches to the optimal implementation
Yep, that's a good way to minimize where asm is used (if asm at all), making
general purpose fast functions available to any other function.
But don't call it memset (it fills byte values only), but something like
MemFill with a size param or MemFill32, MemFill64, MemFill16, MemFill8.
Good post, Michael.
Jose Catena
DIGIWAVES S.L.
More information about the Ros-dev
mailing list