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've been thinking of changing my C674x project to use the MATHLIB. I believe space and speed of execution are more important to me than accuracy and standard compliance.
I already use the FastRTS library for the C62x/C64x.
As far as I can tell the MATHLIB name has changed 3 times! I've got a copy of FastRTS C67x V1.03 (I can't find the download page for this now). Then there's C67x FastMath V2.01 (http://software-dl.ti.com/dsps/dsps_public_sw/c6000/web/c67_fastmath/latest/index_FDS.html). Finally there's C674X-MATHLIB V3.0.1.1 (http://www.ti.com/tool/mathlib).
The first 2 versions of the library include the current run-time-support library names and hence I can link to these without changing my source code. But these versions manage to create a 'text' (rather than '.text') section which creates a warning unless a 'text' section is specified.
The latest version (V3.0.1.1) doesn't define the current RTS names because the rts6740.lib versions of the function don't get replaced when I link to it.
The V3.0.1.1 source contains the following ".if (OVERRIDE_RTS = 1) .global __divf .endif" so it looks like it could be possible to do what I want.
I though about rebuilding V3.0.1.1 (although I'd rather not) but it appears I need CCSv4 to do this (I've got CCSv5).
I think the easiest option is to use V2.01 and deal with the warning but starting with an old version doesn't feel right!
I'm wondering if I'm doing something wrong or if not defining the current names in V3.0.1.1 is a mistake that will be fixed soon??
Any thoughts greatly appreciated!
Thanks,
Matt
Hello,
I have the same problem as MattB with version V3.0.1.1. Can someone build this with the OVERRIDE_RTS enabled and send me the new mathlib.a674?
Thanks,
Victor
Hi,
This is something we missed in release 3.0.1. I will build a RTS replacement library and provide a link to this thread shortly afterwards. In the next release, we will add that into the package. Thanks for your feedback.
regards,
Yimin
Hello,
I compiled the assembly files in the C674 directories for my application. I defined OVERRIDE_RTS=1.
There is a minor bug with both atan2dp.asm and atandp.asm both defined _atandp global causing a multiple define error when linking. So, I commented out the .global _atandp define in atan2dp.asm. I did not remove the _atandp code in that file.
The performance of this code compared to the rts6740.lib indicates a 5% improvement for my application.
Cheers,
Victor
This thread appears to be resolved, so I am marking it as "Answered".
Dave