Faster transcendental and other math functions [Imported Thread]
Idea originally posted by: Jonathan Elliott 21/04/2009
I really need fast sines, cosines, logs, and exponentials. CrossWorks does a good job at present with its assembly-coded adds, subtracts, divides, and so on, but I need more performance!
Comments
22/09/2009 Akos Buzogany
I agree, transcendental functions are never fast enough. But I just measured the same source optimized maximally for speed on GCC/WinAVR and CrossWorks: It took 70 sec for the code compiled with GCC to finish and 25 sec on CrossWorks! Since GCC is a work of excellent programmers, to top it with a factor of 2.8 is already a nice achievement! CW surpasses slightly the IAR too: the code compiled with IAR took 27.8 sec!
Please sign in to leave a comment.
Comments
0 comments