Re: [AD] Nokia 770 support patch

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


Evert Glebbeek wrote:

One more notice for anyone who would like to try allegro on Nokia
770. It is important to use '-march=armv5te' optimization option,
otherwise everything is *a lot* slower. For example
'clear_to_color()' function is *twice* faster with this
optimization enabled.

Can this be detected in teh configure script?

Maybe. But I really don't know how to hack configure scripts :(

In general, -march is not very good idea, but as I read somewhere, ARM
devices older than v4 are already extinct long ago, so -march=armv4
should probably be safe. And it is v4 that brought 16-bit memory access
instructions (older only could access either 8-bit or 32-bit) which are
critical for performance in 16bpp mode.






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