I'm starting design work on a robotics controller that requires lots of floating point cos(), sin(), and sqrt(). I use 16 bit Freescale MC9S12 processors in the current version of the design. With the fastest possible clock and the Codewarrior compiler it handles floating point multiplies in a decent 8 microseconds, but slips to ~400 microseconds for cos(), and ~250 microseconds for sqrt(). This puts me at the minimum timing specs for the design. Would appreciate hearing any numbers you might have for cos(), sqrt), etc. on the smaller ARMs, and the compiler, processor, and clock speed that produced them. Thanks! Bill Tondreau http://www.kupercontrols.com
Message
Anybody have timings for cos() and sqrt() on LPCx etc.?
2005-01-26 by tonalbuilder2002