Hi there,
I’m using IAR EWARM 7.1 with the TI TMS570 MCU, ARM Cortex-R4F core with floating point unit (FPU).
In my application I need to find the square root of a given floating point number very very frequently so I've included the generic math.h header and use the sqrt() function in my code.
- Under “General Options”, I selected Library Configuration=Normal
- Under “Linker” I set “Automatic runtime library selection”
With the MCU clocked at 120 MHz, a call to the sqrt() function has averaged more than EDITED 0.5µs (measured), which is unacceptable for our application (too slow).
Is there any sqrt() in assembly language available that uses the native instructions of the Cortex-R4F for such computation?
Thanks!