Re: [AD] /src/i386/iblit32.s MMX alignment

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


As there are now some good optimizing compilers in use that can generate MMX,SSE,3dNow,SSE2 instructions, whose to say the /src/i*.s functions are better than 'C' compiled equivalents ?


from my limited understanding of ASM, the /src/iblit32.s MMX/SSE code opts out to a non-mmx implementation if the bitmap->w is not 4 pixel aligned.
the code is fine, but the docs make no mention of it.

Maybe a line in the docs near blit() or masked_blit() could mention 4 pixel alignment will typically be faster.





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/