Hi,
I see the linker picked rts6740.lib. I wonder if the math functions such as cosf, sqrtf atan2f in this RTS is faster that the fastRTS for c67. If not, what should I do in order to use fastRTS?
Tanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I see the linker picked rts6740.lib. I wonder if the math functions such as cosf, sqrtf atan2f in this RTS is faster that the fastRTS for c67. If not, what should I do in order to use fastRTS?
Tanks
The fastRTS is assembly optimized, so it will probably have a better performance than RTS. I say probably because the fastRTS for C67x does not use the C64x+ architecture improvements (SPLOOP for example).
Looking the document:
http://www.ti.com/litv/pdf/spru100a
I tem 2.3, explains that all you need to do is to link fastRTS before the RTS. This way the math functions that fastRTS has will have priority over the same functions in RTS.
You can compare the source files to see if the are the same.
For fassRTS, after you download it from:
http://focus.ti.com/docs/toolsw/folders/print/sprc060.html
find the source file at:
...\C6700\mthlib\lib\fastrts67x.src - where ... depends where you installed it to
The dource file for the fastmathc67x.lib library you mentioned is at:
C:\CCStudio_v3.3\C6000\cgtools\lib\fastmath67x.src
A good way to compare these files is going to CCS, File-> Difference between files...
I foung that for CGTools 6.1.5 they are almost identical.