Re:Efficient C Tip – use the modulus (%) operator with caution
by nitrogen on Tuesday February 08, 2011 @09:58PM
(#2196064)
I had to do quite a lot of optimization by hand to get gcc for ARM 4.3.3 (the Sourcery customized version) with -march=armv5te to stop calling the software divide routines, even when dividing by constants. Gcc's performance and conformance can vary widely across supported architectures.
[ Parent
| on HN ]
There are no comments on this comment yet.