View Single Post
Posts: 503 | Thanked: 267 times | Joined on Jul 2006 @ Helsinki
#39
Originally Posted by Johnx View Post
AFAIK, the gcc optimizations for armv4t vs armv5te vs armv6 are not all that big of a performance gain.
armv5te, armv6 or armv7 are most useful when having hand crafted optimizations for these instruction sets. The difference can be very significant, especially for multimedia. But the compiler itself is very dumb and can't generate fast code (at least this is true for gcc).

Apparently the big speedup to be had (at the cost of larger binaries) is enabling VFP support. [1] And, IIRC, this isn't done yet.

-John

[1] http://syslog.movial.fi/archives/46-...ot-to-VFP.html
Some part of this speedup apparently comes from just not using thumb, the other part comes from using vfp. There is no penalty for switching arm/thumb modes, this is done at function call or return boundaries (you can call thumb functions from normal arm code, and arm code can be called from thumb). This switching does not have any overhead at all when compared to normal arm->arm functions calls.
 

The Following User Says Thank You to Serge For This Useful Post: