[email protected] wrote:

But thats still not the point where i want to be .... *aehm* ... where
the timing of the SPS wants me to be. ;-/

The MSP430-GCC floating point library does not use the hardware multiplier with is a really bad speed disadvantage. If you have floating point multiplications speed could be doubled if the hardware multiplier would be used.

IAR has a much more optimized floating point library. Ok, rounding is not as precise as for MSP4430-GCC and denormalized numbers are not supported (set to 0) but in a microcontroller this usually does not result in problems. Compared to MSP430-GCC floating point library the IAR library is approx. 6 times faster (mixed set of operations).

Speeding up the MSP430-GCC floating point library is possible - up to almost the speed of IAR with ANSI C and some pieces of inline assembly. Unfortunately this improved library has not been tested very well and I don't have time to complete it.



What about fixed point arithmetics? This will be much faster.

Ralf

Reply via email to