Other Parts Discussed in Thread: MATHLIB
Hi,
Could you explain the difference between the Run-Time-Support (RTS) library and MATHLIB? I know MATHLIB contains routines optimized by hand to run faster on C667x (such as "divsp"), but on the other hand, standard operators such as "/" invoke RTS functions (such as "__c6xabi_divf"). Both libraries are built for DSP, and both use instructions like "RCPSP" (reciprocal of single-precision floating-point number). Then, why does MATHLIB execute faster than RTS does? If MATHLIB is always faster, then why is it not used by default?
I've read the CPU and instruction set reference guide (SPRUGH7) and the optimizing compiler v8.2.x user’s guide (SPRUI04B), the latter of which mentions RTS, but it does not cover any advantages or drawbacks of using it over MATHLIB.
Kind regards,
Silacko